Mage Check Facebook icon Mage Check Linkedin icon

Magento How to create a System Configuration section

$ The system.xml is a configuration file which is used to create configuration fields in Magento 2 System Configuration.

$ You will need this if your module has some settings which the admin needs to set. You can go to Store -> Setting -> Configuration to check how it looks like.

Step 1: Install Module\Extension

Install the module from initial page

Step 2: Create system.xml

Magento 1 (2007 - 2014)

File path: app/code/local/MageCheck/SystemConfig/etc/system.xml


Magento 2 Open Source (2014 -)

File path: app/code/MageCheck/Tutorial/etc/adminhtml/system.xml


Step 3: Flush Cache

Magento 1 (2007 - 2014)

Log in to you Magento 1 Admin panel, go to System -> Cache management and flush your magento cache.

Magento 2 Open Source (2014 -)

The last thing you have to do is to clean and flush your Magento cache:

php bin/magento cache:clean

php bin/magento cache:flush

This is the sample way to create a System Configuration Section in Magento!