开发者

Magento - Bulk attribute value deletion

I need to delete values for image, small_image, and thumbnail attributes in all products. How can I go about doing开发者_如何学Python this in Magento? I'm running Magento 1.5.1.0


Truncate the tables: catalog_product_entity_media_gallery and catalog_product_entity_media_gallery_value if you are using a Flat catalog you'll need to rebuild it after doing such. System->Index Management.

SQL (run this at your own risk, ive not tested it):

TRUNCATE `catalog_product_entity_media_gallery`; 
TRUNCATE `catalog_product_entity_media_gallery_value`;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜