ドロップダウンを作成し、SQL の source_model 列を変更しました
catalog/product_attribute_source_countryofmanufacture
私の新しい属性はバックエンドで国のリストを表示しますが、国を選択して商品の値を保存すると消えます。
ドロップダウンのすべてのパラメーターは、country_of_manufacture 属性と同じです。
そのために何が問題になる可能性がありますか? 私は1.7.0.2版を使用しています。
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