How to get the current currency in Magento

If you need to retrieve the current currency used in your store, use the following function:

$current_currency = Mage::app()->getStore()->getCurrentCurrencyCode(); 

This will return something like 'EUR', 'USD', etc.

It's very useful if you want to play with currency conversions in Magento.

About Rick

Senior Front-end Software Engineer from Barcelona, Haidong Gumdo Instructor (korean martial art of the sword), street photographer, travel lover, TV addict, Boston Red Sox fan, and privacy advocate.

Leave a Reply

Add <code> Some Code </code> by using this tags.

*
*