我已经成功地将3,000+产品导入到Magento。
所有的产品在后端都是正确的。
但是没有一个产品出现在前端。
所有产品都是:
在Catalog.
我已经刷新了我的缓存和索引,只是为了确保。但是这些产品根本不会出现在前端。
以下是我的CSV文件中使用的列:
status type attribute_set tax_class_id visibility qty is_in_stock product_id name short_description description rrp weight mpn gtin sku price color_text size stock_weight category_ids brand small_image
但是有一个解决方案!
如果我在Megento的后端查看一个产品,然后简单地点击Save
,它就会出现在前端。
有没有比打开所有3000+产品并在每个产品上点击保存更好的解决方案呢?
提前谢谢。
发布于 2015-07-03 03:52:05
我想说,这是因为Magento是进口产品中不存在的默认值。
我会做的是:
选择一个有错误的产品,并在下面的查询中记下它的entity_id
entity_id
将起作用):select entity_id,attribute_id,store_id from catalog\_product\_entity\_datetime
where entity_id =275UNION all select entity_id,attribute_id,store_id from catalog\_product\_entity\_decimal
where entity_id =275UNION all select entity_id,attribute_id,store_id from catalog\_product\_entity\_int
where entity_id =275UNION all select entity_id,attribute_id,store_id from catalog\_product\_entity\_text
where = 275 union all select,,store_id from catalog\_product\_entity\_varchar
where entity_id =275
attribute_id
对于第一个结果中没有出现但在第二个结果中出现的每个attribute_id,运行以下查询,您相应地更改了attribute_id
:从attribute_code from eav_attribute where attribute_id =72
如果在完成这8个步骤后,您仍然没有找到在导入中添加它们的内容和方法,请毫不犹豫地在此答案下编辑您的问题和评论,告诉我您已经这样做了,这样我可能会进一步帮助您。
https://stackoverflow.com/questions/31183176
复制相似问题