Friday, May 8, 2015

Magento - Get Current Currency Symbol

Magento : Get Current Currency Symbol

Code is useful for get currency symbol
 
     Mage::app()->getLocale()->currency(Mage::app()->getStore()->


     getCurrentCurrencyCode())->getSymbol()

or if you want to pass a certain currency code simply specify it:

     Mage::app()->getLocale()->currency('EUR')->getSymbol()

No comments :

Post a Comment