Reading Admin Configuration Values in Magento Code
Settings saved under System > Configuration in the Magento 1 admin can be read anywhere in your code with a single call.
A quick example
This prints the footer copyright text set in the Design section:
<?php
echo Mage::getStoreConfig('design/footer/copyright')
?>
How the path works
The argument is a three-part path that mirrors the admin screen:
<?php
echo Mage::getStoreConfig('section/group/field')
// section indicates section on left sidebar
// group indicates name of fieldset
// field indicates fieldname
?>
The section is the tab in the left sidebar, the group is the fieldset on that tab, and the field is the individual setting. You can find the exact names in the module’s system.xml.
Heads up: this guide applies to Magento 1, which stopped receiving official security updates in June 2020. If your store still runs it, plan a move to Magento 2 or Adobe Commerce soon. We can help with the migration.
Need a second pair of eyes on this? Our team handles Magento development every week. See how we can help.