0

我创建了下拉列表,并在 SQL 中更改了 source_model 列

catalog/product_attribute_source_countryofmanufacture

我的新属性在后端显示国家列表,但是当我选择国家并保存产品值时消失

下拉列表的所有参数与 country_of_manufacture 属性相同。

这可能是什么问题? 我正在使用 1.7.0.2 版本。

4

1 回答 1

0
check whether it returns or not
SELECT * FROM eav_attribute WHERE attribute_code = 'country_of_manufacture';

it's better to create attribute using installer for this you can refer below link

https://github.com/benmarks/magento-mirror/blob/1.7.0.2/app/code/core/Mage/Catalog/sql/catalog_setup/upgrade-1.6.0.0.1-1.6.0.0.2.php#L28
于 2013-05-31T09:39:19.167 回答