Display your Magento store address (from the configuration)

Jun 6, 2011

Magento lets you enter your store address directly into the configuration settings – here is the code snippet to display that in one of your Magento Templates. First of all the setting is found in the system-Configuration page under General – Shop Information. Obviously you can vary this for different Store Views etc. Here is a quick screenshot to make sure you are in the right place… Configuration General-Shop->Information” src=“/wp-content/uploads/2011/06/Mageno-System-Configuration-General-Shop-Information-575x212.png” alt=“Magento System->Configuration General-Shop->Information” width=“575” height=“212” /> the code to then display this in one of your templates is then a one line snippet of PHP… echo Mage::getStoreConfig('general/store_information/address'); You probably want to display on multiple lines – by default this will just include line breaks that will then be ignored in HTML.