2013-04-29 21 views

回答

4

您必須配置,在您的system.xml:

... 
<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> 
... 

http://www.bubblecode.net/en/2012/01/30/add-custom-settings-in-magento-admin-panel/

+0

感謝豬頭...它幫助我:) – Palanikumar 2013-04-30 06:06:28

+0

現在這種聯繫被打破。 – Cragmonkey 2015-01-31 22:53:02

+0

@Cragmonkey工作鏈接:http://www.bubblecode.net/zh/2012/01/30/add-custom-settings-in-magento-admin-panel/ – 2015-03-16 15:20:57

相關問題