Does anybody know how to import CSV of multiple products to Magento 2 without duplicating images? I have been searching for a while and have only found fixes for this issue on Magento 1.
Does anybody know how to import CSV of multiple products to Magento 2 without duplicating images? I have been searching for a while and have only found fixes for this issue on Magento 1.
2
Answers
If you are importing the same CSV multiple times, I am guessing you are modifying the CSV data due to some product data not being correct on initial import?
I would remove the image column data until you are happy with the import, then include the image data in the CSV last and import again.
You could also find/override the importer class and add a image filename based check before updating a products assigned images. Given the different import options (update/replace), I would also check these and limit the check to ‘update’ method maybe…
This is a known core bug in Magento 2.2+
Github issues here:
And pull requests here:
I’m using the first PR successfully in production, and patched using cweagans/composer-patches after every
composer install
.Keep in mind both PRs have limitations and haven’t been tested properly.