Mysql magento产品可见性

Mysql magento产品可见性,mysql,magento,Mysql,Magento,mysql是否有办法将所有产品可见性设置为catalog,search?打开eav\u属性表,找到attribute\u code=可见性所在的行。注意属性\u id,很可能是85。还要注意,backend\u type=int。这说明属性存储在catalog\u product\u entity\u int中。因此,现在您可以运行: update `catalog_product_entity_int` set value = 4 where attribute_id = 85 (当然,假设

mysql是否有办法将所有产品可见性设置为catalog,search?

打开
eav\u属性表,找到
attribute\u code
=可见性所在的行。注意
属性\u id
,很可能是85。还要注意,
backend\u type
=int。这说明属性存储在
catalog\u product\u entity\u int
中。因此,现在您可以运行:

update `catalog_product_entity_int` set value = 4 where attribute_id = 85
(当然,假设属性_id是85!)

确保在运行数据库之前备份它

嗯,, 法学博士