2011-05-16 170 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