O'Reilly logo

Getting Started with Magento Extension Development by Branko Ajzele

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building the configuration options interface

The following is a list of steps for defining the system configuration options for your extension:

  1. We will first go ahead and build our configuration option's interface. Thus we need to create the app/code/community/Foggyline/MaxOrderAmount/etc/system.xml file with the following code content:
    <?xml version="1.0" encoding="UTF-8"?> <config> <sections> <sales module="sales"> <groups> <foggyline_maxorderamount> <label>Maximum Order Amount</label> <sort_order>10</sort_order> <show_in_default>1</show_in_default> <show_in_website>1</show_in_website> <show_in_store>1</show_in_store> <fields> <active> <label>Enable</label> <sort_order>10</sort_order> <frontend_type>select</frontend_type> <source_model>adminhtml/system_config_source_yesno</source_model> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required