How to add a new field to Magento configuration?

In this example, I am going to add a new field under the Configuration -> CATALOG -> Catalog -> Product Alerts, The filed name is “some text” and it is a select box with Yes, No Options.

To do that, we need to add/edit system.xml in our custom module. Here is the XMl to add a new filed.

Thats it, Clear the Magento cache and test it.  You will be able to see the changes.

How to add a new field to Magento configuration - IYngaran

Be the first to comment

Leave a Reply

Your email address will not be published.


*


*