Get the current currency code and symbol in magento

July 8, 2010 | In: Magento

I have tried many times but I didn’t got success . But today I got the solution to show the currency symbol of product price:

Currency Code :

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

Currency Symbol :

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

You may also like these related posts

  • ADi


    I have a problem in magento when in upload product image then i am geting a HTTP Error or I/O Error .

    Can you Please provide me a suitable solution .


    • Anonymous

      Hi ADi,

      What version you are installed on your system? Because sometimes this error happening in magento version 1.6.1.

  • colen mk

    Hi I am new to magento…I want the price to be shown as US$50 right now it is shown as $50.I want to show the symbol and code of currency with the price of the product.



By Google