多语言展示
当前在线:1671今日阅读:75今日分享:44

如何删除zencart演示数据和产品数据?

介绍如何删除zencart的演示数据或者产品数据。PS:请记得操作前记得备份,这个很重要。
方法/步骤
1

进入zencart后台,点击tools-SQL Query Executor。

2

在执行SQL脚本中执行下面文件:=====================================================# 清空商品分类、商品、属性TRUNCATE TABLE categories;TRUNCATE TABLE categories_description;# 清空商品以及属性TRUNCATE TABLE media_clips;TRUNCATE TABLE media_manager;TRUNCATE TABLE media_to_products;TRUNCATE TABLE media_types;TRUNCATE TABLE music_genre;TRUNCATE TABLE product_music_extra;TRUNCATE TABLE product_types_to_category;TRUNCATE TABLE products;TRUNCATE TABLE products_attributes;TRUNCATE TABLE products_attributes_download;TRUNCATE TABLE products_description;TRUNCATE TABLE products_discount_quantity;TRUNCATE TABLE products_notifications;TRUNCATE TABLE products_options;TRUNCATE TABLE products_options_types;TRUNCATE TABLE products_options_values;TRUNCATE TABLE products_options_values_to_products_options;TRUNCATE TABLE products_to_categories;TRUNCATE TABLE record_artists;TRUNCATE TABLE record_artists_info;TRUNCATE TABLE record_company;TRUNCATE TABLE record_company_info;# 清空推荐商品TRUNCATE TABLE featured;# 清空促销商品TRUNCATE TABLE salemaker_sales;# 清空特价商品TRUNCATE TABLE specials;# 清空团体价格TRUNCATE TABLE group_pricing;# 清空厂家及资料TRUNCATE TABLE manufacturers;TRUNCATE TABLE manufacturers_info;# 清空客户评论TRUNCATE TABLE reviews;TRUNCATE TABLE reviews_description;=====================================================

3

点击send后,你网店的所有数据都会被清空了。

推荐信息