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_product`; TRUNCATE TABLE `catalog_category_product_index`; INSERT INTO `catalog_category_entity` VALUES (1,3,0,0,'0000-00-00 00:00:00','2010-03-22 08:53:22','1',0,0,1); INSERT INTO `catalog_category_entity` VALUES (2,3,3,1,'2010-03-22 08:53:24','2010-03-22 08:53:24','1/2',1,1,0); INSERT INTO `catalog_category_entity_int` VALUES (1,3,34,0,2,1); INSERT INTO `catalog_category_entity_int` VALUES (2,3,34,1,2,1); INSERT INTO `catalog_category_entity_text` VALUES (1,3,58,0,1,''); INSERT INTO `catalog_category_entity_text` VALUES (2,3,58,1,1,''); INSERT INTO `catalog_category_entity_text` VALUES (3,3,58,0,2,''); INSERT INTO `catalog_category_entity_text` VALUES (4,3,58,1,2,''); INSERT INTO `catalog_category_entity_varchar` VALUES (1,3,33,0,1,'Root Catalog'); INSERT INTO `catalog_category_entity_varchar` VALUES (2,3,33,1,1,'Root Catalog'); INSERT INTO `catalog_category_entity_varchar` VALUES (3,3,35,0,1,'root-catalog'); INSERT INTO `catalog_category_entity_varchar` VALUES (4,3,33,0,2,'Default Category'); INSERT INTO `catalog_category_entity_varchar` VALUES (5,3,33,1,2,'Default Category'); INSERT INTO `catalog_category_entity_varchar` VALUES (6,3,41,1,2,'PRODUCTS'); INSERT INTO `catalog_category_entity_varchar` VALUES (7,3,35,0,2,'default-category');
Magento: удалить все категории
Как удалить все товарные категории в Magento
16.05.2010 21:38