We can get store variables like name,phone number, email using Mage helper.

Get Magento Store Name

To get store name use following code.

echo Mage::getStoreConfig('general/store_information/name');

Get Magento Store Phone number

To get store phone number use following code.

echo Mage::getStoreConfig('general/store_information/phone');

Get Magento Store Address

To get store address use following code.

echo Mage::getStoreConfig('general/store_information/address');

Get Magento Store Email Address

To get store email address use following code.

echo Mage::getStoreConfig('trans_email/ident_general/email');