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

Your email address will not be published. Required fields are marked *