0

I perform Export Products from one Magento 2 Store and Import that CSV file in another Magento 2 Store. I am facing some issues like below.

Category list is displaying below

enter image description here enter image description here

Product image is not displaying

enter image description here I entered into both Admin Panel and found like below enter image description here enter image description here

I ran below commands after Import

php bin/magento setup:upgrade
php bin/magento cache:flush
php bin/magento setup:static-content:deploy
php bin/magento indexer:reindex
1
  • Can you check image path for all images. Bcoz you Export these file from other server and import in your own store. so just need to change image path you will get images. And For category there are full path in magento 2 so make sure category path is perfectly. – Nikul May 8 '17 at 13:29
0

I am unsure of what the issue is with the categories, the import function does not create categories.

In regards to the images, you must ensure all product images are placed in the media/import folder. Then when uploading ensure the images do not have a path preceding them in the CSV i.e:

When exported, within the CSV, the image value would be something like 'd/e/image1.jpg'

When importing, within the CSV, the image value just needs to be 'image1.jpg'

================================================================================

In response to your question:

Thanks @Paul Gemayel. How can I do this "When exported, within the CSV, the image value would be something like 'd/e/image1.jpg' When importing, within the CSV, the image value just needs to be 'image1.jpg'"

When exporting a CSV, you will see something like this:

enter image description here

As you can see the images have the values of their location in the Magento folder structure. When importing however, you first need to place the images in the media/import folder, then modify the CSV to look something like this:

enter image description here

From the changes I see you've made to your question, I suspect that you did not set the image, small image and thumbnail image correctly. It seems you have only set the thumbnail image.

I would also like to note that my response and examples here are based on Magento 1, with your changes to your question, I see your are referring to Magento 2. It works the same way, only that the field names are different i.e. image is now base_image.

2
  • Thanks @Paul Gemayel. How can I do this "When exported, within the CSV, the image value would be something like 'd/e/image1.jpg' When importing, within the CSV, the image value just needs to be 'image1.jpg'" ? – abu abu May 11 '17 at 10:26
  • Hi abu abu, I have responded to your question in my original answer. – Paul Gemayel May 12 '17 at 6:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.