How to get currency code in Magento

By | October 3, 2013

We know Magento support multiple currency. Use following code given below to check current currency in the Magento site frontend.

To get current currency code

1
<?php echo $current_currency_code = Mage::app()->getStore()->getCurrentCurrencyCode(); ?>

If you looking for current currency symbol use :

1
<?php echo Mage::app()->getLocale()->currency(Mage::app()->getStore()->getCurrentCurrencyCode())->getSymbol(); ?>

Leave a Reply