2016-04-04 12 views
1

ヘイ、私は質問したい、コンフィグレーションで新しいフィールドを追加するコアから拡張する。私はシステム - >構成 - >一般 - >店舗情報に新しいフィールドコールテストを入れたいと思う。私が知っているコンフィグレーションで新しいフィールドをマゼンタで追加する方法(コアから延長)

は間違っているが、これは私が使用するファイルである: -

MageCustom/GSTの/ etc/System.Xmlの

<config> 
<tabs> 
    <customer translate="label" module="customer"> 
     <label>dd</label> 
     <sort_order>300</sort_order> 
    </customer> 
</tabs> 
<sections> 
    <customer translate="label" module="customer"> 
     <general> 
      <groups> 
       <store_information> 
        <fields> 
         <company_name> 
          <label>Company Name</label> 
          <frontend_type>text</frontend_type> 
          <comment>This will be included in Transactional Emails.</comment> 
          <sort_order>31</sort_order> 
          <show_in_default>1</show_in_default> 
          <show_in_website>1</show_in_website> 
          <show_in_store>1</show_in_store>      
         </company_name> 
        </fields> 
        <fields> 
         <gst_no> 
          <label>GST No</label> 
          <frontend_type>text</frontend_type> 
          <comment>This will be included in Transactional Emails.</comment> 
          <sort_order>32</sort_order> 
          <show_in_default>1</show_in_default> 
          <show_in_website>1</show_in_website> 
          <show_in_store>1</show_in_store>      
         </gst_no> 
        </fields> 
       </store_information> 
      </groups> 
     </general> 
    </customer> 
</sections> 

MageCustom/GSTの/ etc/config.xmlに

<config> 
<adminhtml> 
    <acl> 
     <resources> 
      <admin> 
       <children> 
        <system> 
         <children> 
          <config> 
           <children> 
            <customer> 
             <title>General</title> 
            </customer> 
           </children> 
          </config> 
         </children> 
        </system> 
       </children> 
      </admin> 
     </resources> 
    </acl> 
</adminhtml> 

答えて

関連する問題