4
有沒有辦法通過mysql將所有產品可見性設置爲目錄,搜索?magento產品知名度
有沒有辦法通過mysql將所有產品可見性設置爲目錄,搜索?magento產品知名度
打開eav_attribute
表並找到其中attribute_code
=可見性的行。注意attribute_id
,最有可能是85.還要注意backend_type
= int。這告訴你該屬性存儲在catalog_product_entity_int
。所以,現在你可以運行:
update `catalog_product_entity_int` set value = 4 where attribute_id = 85
(假設當然,該attribute_id是85!)
確保您備份數據庫在運行之前。
HTH, JD
哪個版本的magento? – 2010-09-07 01:52:14