I intend to import categories into my magento from csv file. I use ValueRemapper of magmi. The Replaced Attribute is categories. And the New Values for categories is

{{ ValueRemapper::use_csv('C:\xampp\htdocs\magento\var\import\category_ids.csv')->map({item.categories) }}.

But when I run the import I get errors

SQLSTATE[HY093]: Invalid parameter number: no parameters were bound....

I tried to change the path to the csv file both with absolute and relative path, but it still has the same error. Could anyone give me a clue what the real problem of my setting? And any solution would be appreciated. Thank you.

有帮助吗?

解决方案

you seem to be missing } here:

->map({item.categories)

Try:

->map({item.categories})
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top