Magento 如何在管理中添加下拉字段->;系统->;配置->;目录标签?
我正在创建模块,在“管理->系统->配置->目录->目录->前端”下拉列表下添加额外的下拉字段。如何在那里添加附加字段?您必须在system.xml中配置该字段:Magento 如何在管理中添加下拉字段->;系统->;配置->;目录标签?,magento,magento-1.7,Magento,Magento 1.7,我正在创建模块,在“管理->系统->配置->目录->目录->前端”下拉列表下添加额外的下拉字段。如何在那里添加附加字段?您必须在system.xml中配置该字段: ... <sections> <catalog> <groups> <frontend> <fields> <dropdown translate="
...
<sections>
<catalog>
<groups>
<frontend>
<fields>
<dropdown translate="label comment">
<label>Dropdown</label>
<comment>Dropdown with global scope.</comment>
<frontend_type>select</frontend_type>
<source_model>jr_customconfigexample/system_config_source_dropdown_values</source_model>
<sort_order>30</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>0</show_in_website>
<show_in_store>0</show_in_store>
</dropdown>
...
。。。
下拉列表
具有全局范围的下拉列表。
选择
jr_customconfigexample/system_config_source_下拉列表_值
30
1.
0
0
...
谢谢你,伙计。。。它帮助了我:)该链接现在已断开。@Cragmonkey工作链接: