Retrieve VAT from Store Information in Magento with PHP

As this is a very useful thing to do when customising a Magento template / theme and I could find nothing online to quickly demonstrate how to do this here you go:[code]<?php $storeVAT = Mage::getStoreConfig('general/store_information/merchant_vat_number'); echo $storeVAT; ?>[/code]If you need to add this to a CMS page then you can use this to retrieve the store information.[code]{{config path="general/store_information/merchant_vat_number"}}[/code]Enjoy, and if you found this useful of have any other questions then leave a comment below!

Previous
Previous

How to Get the Copyright Text in PHP and the CMS for Magento

Next
Next

SagePay / Opayo Test Cards