1

I have successfully built a custom module to integrate an additional section on configuration page "Hide price option" with help of this tutorial create custom module

Now I want to have this form under Currency setup configuration page if possible otherwise after currency setup page under general config page.

I tried with changing namespace but its not working.

1 Answer 1

2

You can change system.xml with this

<?xml version="1.0"?>
<config>
    <sections>
        <currency>
            <groups>
                <section_one translate="label">
                    <label>Section One</label>
                    <frontend_type>text</frontend_type>
                    <sort_order>1</sort_order>
                    <show_in_default>1</show_in_default>
                    <show_in_website>1</show_in_website>
                    <show_in_store>1</show_in_store>                
                    <fields>
                        <custom_field_one>
                            <label>Custom Text Field</label>
                            <frontend_type>text</frontend_type>
                            <sort_order>1</sort_order>
                            <show_in_default>1</show_in_default>
                            <show_in_website>1</show_in_website>
                            <show_in_store>1</show_in_store>
                            <comment>Example of text field.</comment>                   
                        </custom_field_one>
                    </fields>
                </section_one>

                <!-- ADD OTHER BLOCKS HERE -->

            </groups>                
        </currency>
    </sections>
</config>

Like this:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.