skip to Main Content

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


  1. 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…

    Login or Signup to reply.
  2. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search