SET FOREIGN_KEY_CHECKS = 0; TRUNCATE TABLE `catalog_product_bundle_option`; TRUNCATE TABLE `catalog_product_bundle_option_value`; TRUNCATE TABLE `catalog_product_bundle_selection`; TRUNCATE TABLE `catalog_product_entity_datetime`; TRUNCATE TABLE `catalog_product_entity_decimal`; TRUNCATE TABLE `catalog_product_entity_gallery`; TRUNCATE TABLE `catalog_product_entity_int`; TRUNCATE TABLE `catalog_product_entity_url_key`; TRUNCATE TABLE `catalog_product_entity_media_gallery`; TRUNCATE TABLE `catalog_product_entity_media_gallery_value`; TRUNCATE TABLE `catalog_product_entity_text`; TRUNCATE TABLE `catalog_product_entity_tier_price`; TRUNCATE TABLE `catalog_product_entity_varchar`; TRUNCATE TABLE `catalog_product_link`; TRUNCATE TABLE `catalog_product_link_attribute`; TRUNCATE TABLE `catalog_product_link_attribute_decimal`; TRUNCATE TABLE `catalog_product_link_attribute_int`; TRUNCATE TABLE `catalog_product_link_attribute_varchar`; TRUNCATE TABLE `catalog_product_link_type`; TRUNCATE TABLE `catalog_product_option`; TRUNCATE TABLE `catalog_product_option_price`; TRUNCATE TABLE `catalog_product_option_title`; TRUNCATE TABLE `catalog_product_option_type_price`; TRUNCATE TABLE `catalog_product_option_type_title`; TRUNCATE TABLE `catalog_product_option_type_value`; TRUNCATE TABLE `catalog_product_super_attribute`; TRUNCATE TABLE `catalog_product_super_attribute_label`; TRUNCATE TABLE `catalog_product_super_attribute_pricing`; TRUNCATE TABLE `catalog_product_super_link`; TRUNCATE TABLE `catalog_product_enabled_index`; TRUNCATE TABLE `catalog_product_website`; TRUNCATE TABLE `catalog_product_entity`; TRUNCATE TABLE `cataloginventory_stock`; TRUNCATE TABLE `cataloginventory_stock_item`; TRUNCATE TABLE `cataloginventory_stock_status`; TRUNCATE TABLE `catalog_category_entity`; TRUNCATE TABLE `catalog_category_entity_datetime`; TRUNCATE TABLE `catalog_category_entity_decimal`; TRUNCATE TABLE `catalog_category_entity_int`; TRUNCATE TABLE `catalog_category_entity_text`; TRUNCATE TABLE `catalog_category_entity_varchar`; TRUNCATE TABLE `catalog_category_entity_url_key`; TRUNCATE TABLE `catalog_category_product`; TRUNCATE TABLE `catalog_category_product_index`; INSERT INTO `catalog_category_entity` (`entity_id`, `entity_type_id`, `attribute_set_id`, `parent_id`, `created_at`, `updated_at`, `path`, `position`, `level`, `children_count`) VALUES (1, 3, 0, 0, '2012-06-17 22:20:47', '2012-06-17 22:20:47', '1', 0, 0, 1), (2, 3, 3, 1, '2012-06-17 22:20:47', '2012-06-17 22:20:47', '1/2', 1, 1, 0); INSERT INTO `catalog_category_entity_int` (`value_id`, `entity_type_id`, `attribute_id`, `store_id`, `entity_id`, `value`) VALUES (1, 3, 67, 0, 1, 1), (2, 3, 67, 1, 1, 1), (3, 3, 42, 0, 2, 1), (4, 3, 67, 0, 2, 1), (5, 3, 42, 1, 2, 1), (6, 3, 67, 1, 2, 1); INSERT INTO `catalog_category_entity_varchar` (`value_id`, `entity_type_id`, `attribute_id`, `store_id`, `entity_id`, `value`) VALUES (1, 3, 41, 0, 1, 'Root Catalog'), (2, 3, 41, 1, 1, 'Root Catalog'), (3, 3, 43, 1, 1, 'root-catalog'), (4, 3, 41, 0, 2, 'Default Category'), (5, 3, 41, 1, 2, 'Default Category'), (6, 3, 49, 1, 2, 'PRODUCTS'), (7, 3, 43, 1, 2, 'default-category'); INSERT INTO `catalog_product_link_type` (`link_type_id`, `code`) VALUES (1, 'relation'), (3, 'super'), (4, 'up_sell'), (5, 'cross_sell'); INSERT INTO `catalog_product_link_attribute` (`product_link_attribute_id`, `link_type_id`, `product_link_attribute_code`, `data_type`) VALUES (1, 1, 'position', 'int'), (2, 3, 'position', 'int'), (3, 3, 'qty', 'decimal'), (4, 4, 'position', 'int'), (5, 5, 'position', 'int'); INSERT INTO `cataloginventory_stock` (`stock_id`, `stock_name`) VALUES (1, 'Default'); SET FOREIGN_KEY_CHECKS = 1;
相关推荐
magento 1.8.0.1 paypal汉化包
magento 1.8 sample data 1.6
magento1.8
Magento是全球最著名的PHP开源电子商务系统,其专业性是其他开源网店无法比拟的,最关键的是它开放了所有源代码,你可以基于Magento进行二次开发定制自己想要的...用户可以利用Magento来搭建属于自己的电子商务平台。
magento-1.8.0.0.tar.gz
此代码仅供参考没有后台管理表格1.8版本下可用 安装此demo 需基本了解magento模块原理 如要重新加载数据库脚本 需删除对应的资源数据 安装完成后请直接访问 http://你的网址/demoeav 1.eav模型 会生成 blog_post,...
magento开发参考资料,对magento开发很有帮助
magento中文版基于magento1.8.0.0汉化,完全基于magento1.8.0.0内核,标准开发,安装之后不用担心系统内核升级 问题。所以具有与magento1.8.0.0社区版同等安全机制。适用于中小企业自己搭建一个简单的B2C电商系统,...
Magento Development Cookbook 教你怎么开发magento的主题和模块,非常实用,给又需要的人!
使用 Magento 1.8.x 和 1.9.x 测试了 javascript 的缩小版本 对于在管理员中应用合并选择了不同的主题。 在管理员中:系统->配置->设计 缩小和合并的 js 文件: js/prototype/prototype.js js/lib/ccard.js js/...
sample data for magento software
基于magento-1.8.0.0-alpha1版本进行汉化,可称作magento1.8.0.0中文版 全站页面文字为中文,包括安装步骤及前后台 优化产品管理器,自动优化产品url为汉子拼音 合并姓氏名字为姓名,包括注册,用户中心管理,...
magento删除订单sql,通过phpmyadmin清空订单
magento导出数据sql,magento批量导出数据,magento批量上传数据。
magento产品名称及描述批量修改sql
Zookal FixFormKey 该模块解决了将...仅与Magento CE> = 1.8和EE> = 1.13兼容该核心文件的代码质量:安装请使用modman或composer.org执照版权版权所有(c)Zookal Pty Ltd,澳大利亚悉尼作者( -在澳大利亚悉尼制造:-)
magento SQL常用命令,数据库操作
Magento官方的开发用户手册,英文版1.8 Edition
magento一步支付插件支付1.6~1.8,减少支付流程,极大的挽回损失,用过magento的应该知道,安装后后台刷新缓存,开启 设置即可使用,非常简单