Magento Coding

Way to create configuration settings for your Magento extension

My Tech Blog

Assuming you have knowledge on module creation!…

Step1: In your etc folder add system.xml file in this


To void permissions problem.

Step2: You need to add below xml in your extension config.xml file.


Below is the way to retrive values from above settings.


We will go little more in to it.
Ex: if we want to custom values other than just Yes/NO in the sorce model we have that also by doing below.

Create model in your module like

And add below tag in system.xml
instead of

We have few other default source_models available in the system like.

We have frontend_model also as below

For file upload add below.


Below is the reference of different field type we have in the system.

View original post


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s