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(); ?>

3 Responses to Get the current currency code and symbol in magento



November 30th, 2011 at 8:04 am


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 .




November 30th, 2011 at 1:45 pm

Hi ADi,

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


colen mk

February 15th, 2017 at 1:47 pm

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.


Comment Form

Leave a Reply

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



Latest comments

    Fatal error: Uncaught Error: Call to undefined function split() in /home4/nos/public_html/ Stack trace: #0 /home4/nos/public_html/ mdv_recent_comments() #1 /home4/nos/public_html/ include('/home4/nos/publ...') #2 /home4/nos/public_html/ include('/home4/nos/publ...') #3 /home4/nos/public_html/ require_once('/home4/nos/publ...') #4 /home4/nos/public_html/ require('/home4/nos/publ...') #5 {main} thrown in /home4/nos/public_html/ on line 72