magento,批量修改产品名称

来源:互联网 发布:sql语句先升序再降序 编辑:程序博客网 时间:2024/06/05 04:31

单个后台修改比较费劲,重新导入数据有很浪费时间,那么,进数据库修改吧!

,你要先看表eav_attribute`,字段attribute_code值为“name”,对应的attribute_id的值是多少,这里是96!

下面是将Wavy修改为Weave,注意大小写!


UPDATE  catalog_product_entity_varchar SET value = REPLACE(value,'Wavy','Weave')

WHERE attribute_id =96
AND value LIKE '%wavy%'

原创粉丝点击