zencart 清空商品演示数据和没有商品数据
2013-04-12 11:03
218 查看
在后台:工具(tools)—履行SQL(install SQL paths),
其中清空商品屬性這一行疏忽掉,畢竟屬性照樣要用到的,代碼以下:
# 清空商品分類、商品、屬性
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;
其中清空商品屬性這一行疏忽掉,畢竟屬性照樣要用到的,代碼以下:
# 清空商品分類、商品、屬性
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;
相关文章推荐
- zencart如何清空商品演示数据和没有商品数据的sql执行语句 zencart如何清空商品演示数据和没有商品数据的sql执行语句
- zencart如何清空商品演示数据和没有商品数据的sql执行语句
- zencart+magento 如何清空商品演示数据和没有商品数据的sql执行语句
- 20.购物车商品价格的总和(里面有一些功能没有实现,创建textview布局对象,然后for()遍历数据求和)
- 清空zencart测试数据
- zencart清空产品商品实用命令
- 购物车的单项增加减少商品和批量减少增加商品以及清空购物车的实例演示
- zencart删除或清空网站的所有订单,顾客,和商品
- hibernate save后没有保存数据,报错报错Could not obtain transaction-synchronized Session
- 回收站清空后数据如何免费恢复图文教程
- 错误删除数据或清空数据怎样可以找回
- 聚合数据Android SDK 12306火车票查询订票演示示例 编辑
- 判断网络状态,成功吐司网络可用,没有网络弹框设置网络,判断网络可用请求数据,接口回调
- "添加"模态框中某些数据不被清空
- 关于cocos3.3移植android后清空UserDefault.xml数据的问题
- PostgreSQL 遇到问题之一 read成功偏偏没有数据
- 关于arcgis用GP服务模型 生成等直面没有跟地图一致,颜色区设置及数据接收问题的解决方法!
- Linux清空mysql所有数据
- (原) ODP.NET 演示以流的形式来获取 LOB 数据
- 黄金数据查询演示示例