dongtanzhu5417 2013-05-31 09:32 采纳率: 100%
浏览 8
已采纳

Magento:无法保存属性的选定值(其他属性中使用的制造国属性)

I created dropdown, and changed source_model column in SQL

catalog/product_attribute_source_countryofmanufacture

My new attribute shows country list in backend, but when I select country and save product value disappears.

All parameters of dropdown are same like country_of_manufacture attribute.

What might be a problem for that? I’m using 1.7.0.2 ver.

  • 写回答

1条回答 默认 最新

  • doucai5315 2013-05-31 09:39
    关注
    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
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?