2015-07-02 27 views
1

我已成功将3,000多种产品导入Magento。仅当保存在Magento中时才会显示产品

产品在后台都存在并且正确。

但是没有一款产品出现在前端。

所有的产品有:

  • 可见的目录。
  • 启用。
  • 库存数量为10.
  • 有货。
  • 分配了各种类别。
  • 指定给正确的网站。

我刷新了缓存和索引,只是为了确保。但产品并没有出现在前端。


如这里要求都在我的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+产品并击中每一个都省钱?

在此先感谢。

+0

您可以选择网格中的所有产品并选择更新属性部分。只需再次更新可视性。 –

+0

对不起,没有工作:( – Jimmery

+0

请在此提供CSV文件的列 –

回答

1

我想说这是因为Magento默认您的进口产品中没有的价值。

我会做的是:

  1. 选择越野车的产品,并注意其entity_id
  2. 查询波纹管替换此entity_id(查找和替换275将工作):

    select entity_id, attribute_id, store_id from `catalog_product_entity_datetime` where entity_id = 275 
    union all 
    select entity_id, attribute_id, store_id from `catalog_product_entity_decimal` where entity_id = 275 
    union all 
    select entity_id, attribute_id, store_id from `catalog_product_entity_int` where entity_id = 275 
    union all 
    select entity_id, attribute_id, store_id from `catalog_product_entity_text` where entity_id = 275 
    union all 
    select entity_id, attribute_id, store_id from `catalog_product_entity_varchar` where entity_id = 275 
    
  3. 在您的数据库上运行此SQL查询

  4. 将结果导出到某处
  5. 转到管理员并保存该产品并确保它在前端运行
  6. 运行您在步骤3上运行的查询。再次
  7. 比较两个结果,并找到attribute_id是在第二个结果,但不是第一
  8. 对于每个attribute_id没有出现在第一,但出现在第二个结果,运行此查询,你改变了attribute_id因此:

    select attribute_code from eav_attribute where attribute_id = 72 
    
  9. 适应您的出口增加默认值的Magento是投入了你的那些属性

如果在第一步8之后,你仍然没有找到什么以及如何将它们添加到你的导入中,请不要犹豫,在这个答案下编辑你的问题和评论,告诉我你做了,所以我可以帮你进一步。

相关问题