B-219 Sec-55 Noida, India
+918010221733

How to get currency code in Magento

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

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

If you looking for current currency symbol use :

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

(Visited 50 times, 1 visits today)

Leave a reply

You must be logged in to post a comment.