Currency code and symbol in magento
Posted by navaneeth on Jan 31, 2013 in Magento, Php | No comments yet

Some times we need to show the currency code and symbol separately in magento and here is the code to do so
For getting currency code :
<?php echo $currency_code = Mage::app()->getStore()->getCurrentCurrencyCode(); ?>
For getting currency symbol :
<?php echo Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol(); ?>
Leave a Reply