Make all store images the base, small and thumbnail images in Magento?

后端 未结 6 914
迷失自我
迷失自我 2020-12-13 16:13

I have a Magento store that has around 3,000 products. Almost all of these products have a single image attached to it.

For some reason, even though I set the small

6条回答
  •  悲哀的现实
    2020-12-13 16:40

    I got it working using the following trick for Magento 1.9.2.2 version:

    INSERT INTO catalog_product_entity_varchar
          (entity_type_id, attribute_id, store_id, entity_id, value)
    SELECT
          entity_type_id, 75, store_id, entity_id, value
    FROM
          catalog_product_entity_varchar
    WHERE 
          attribute_id = 74
    

    Then replace value 75 with 76 and import the query again. Be sure to replace the attribute id values to your own

提交回复
热议问题