I am working on Magento EE 1.13 with two store views. Some products are sold in both store views. I want each store view to have a unique base image for the product. I am working with Import/Export->Import.

The "image", "small_image", and "thumbnail" product attributes all have "store view" scope.

After import, each store view shows the correct base image, but the product image for store #1 displays as a thumbnail in the media gallery for the product in store #2.

Below is the format for the csv file I am using to import. The product image paths are relative to media/import/.


What do I need to change in my import csv file to not have the other store's image appear when I view the product on the front end?

1 Answer 1


I ended up solving this problem by importing the images into BOTH store views as above, and then directly updating the database to "exclude" the necessary images from the relative store view.

I used a script that first selected an image from the table "catalog_product_entity_media_gallery" then looked at the post-fix I gave to the image names (they relate to the store view).

I then used that image's id to look in the "catalog_product_entity_media_gallery_value" table and set the "disabled" flag for the appropriate store view.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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