2011-05-16 171 views

回答

5

最简单的方法就是直接运行SQL命令:

DELETE options FROM eav_attribute AS attribute INNER JOIN eav_attribute_option AS options ON attribute.attribute_id = options.attribute_id WHERE attribute.entity_type_id = 4 

其中 “4” 是catalog_product的entity_type_id(仔细检查该值在eav_entity_type表entity_code 'catalog_product')

+0

这是否方法删除产品和该属性之间的关联? – James 2012-08-17 02:41:07