2

我刚刚开始使用 Magmi 上传产品,但一直遇到问题。我的产品上传正常,但是当我查看管理部分时,它们没有被分配产品类型。此外,当您查看产品时,它会丢失所有价格信息等。我已尝试在管理员中和通过 Magmi Reindexer 重新索引,如其他问题中所建议的那样,但它没有任何区别。

我使用的 CSV 文件如下:

"sku","store","attribute_set","type","grouped_skus","categories","brands","color","delivery_availability","description","enable_googlecheckout","gallery","guarantee","image","image_label","ip_rating","lighting_fitting_system","lighting_light_colour","media_gallery","meta_description","meta_keyword","meta_title","name","package_id","price","product_category","short_description","small_image","small_image_label","special_from_date","special_price","special_to_date","status","style","tax_class_id","thumbnail","thumbnail_label","type","url_key","url_path","visibility","voltage","weight"
"SY7031CC",,"Lighting","simple",,"Lighting/Kitchen Lighting/Under Cabinet Lights;;Lighting/Kitchen Lighting/Down Lights",,"Chrome","3 Working Days","Required when using 60° and 120° beam angles",1,,"3 Year Guarantee",,,,"LED Plug in System",,,,,,"Surface Spacer for 60° and 120° Florence, Toscanna, Siclia Lights - Chrome","3 Working Days",3.95,,"For use with Florence, Siclia and Toscana 3 Watt OSRAM LED light fittings.",,,,,,1,,2,,,"Accessories","Surface-Spacer-for-60°-and-120°-Florence-Toscanna-Siclia-Lights-Chrome","Surface-Spacer-for-60°-and-120°-Florence-Toscanna-Siclia-Lights-Chrome.html",1,,0.3
4

1 回答 1

5

type在 CSV 中定义了两次该列。

第一个实例具有正确的值,simple。type 的第二个实例Accessories作为值。

您需要删除 type 的第二个实例,因为Accessories它不是 type 列的有效值。此外,您不能type用于自定义属性数据。这是一个 Magento 保留属性,用于定义产品类型。尝试创建一个名为的属性product_type,并将其设置Frontend LabelType. 这将允许您设置数据,而不会与核心 Magento 属性冲突。

于 2013-04-29T16:15:39.263 回答