2016-03-18 55 views
0

嗨,大家好,我想从我的Magento安装中有一个出口类别,并导入到其他:导入/导出Magento的类别

版本的出口是进口1.9.2.1和1.9.2.4,所以应该有几乎相同的数据库结构。

我需要输出哪些表格以将它们在1.9.2.1中的类别“转移”到1.9.2.4 magento。

所以,我想我所追求的是我必须从我的Magento中导出我需要的类别的表格列表?

我刚才尝试以下,但没有奏效:

首先把数据只转储表:

dumped tables

然后我就去truncuated如下:

SET FOREIGN_KEY_CHECKS = 0; 
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`; 

SET FOREIGN_KEY_CHECKS = 1; 

然后使用mysql命令从转储中恢复我跑我的转储。

现在进入后台管理分类页面将会显示所有的好笑:

category page

回答