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
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记