Magento Magmi: When updating, is the first column in the csv used as the foreign key?

StackOverflow https://stackoverflow.com/questions/17455994

  •  02-06-2022
  •  | 
  •  

質問

I usually update based on SKU... but, I need to change the SKUs this time. Heh, so I couldn't find any definitive answer in the wiki, but how does magmi choose the csv column to use as the foreign key when doing updates? I assume it is the first column, but would rather not guess.

Thanks!

役に立ちましたか?

解決

The order of the columns does not matter. Magmi converts the column name into a column index, then processes the data for those columns row by row.

The skus are used to associate the item in the CSV with an existing item in Magento. Changing the sku in the Magmi datasource would cause that item to be uploaded as a new item.

If you're wanting to change the skus, I would recommend deleting the old items, changing the skus, then uploading the new ones.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top