How to convert currencies in Magento

If you need to convert currencies in Magento you can use Magento's core function.

$converted = Mage::helper('directory')->currencyConvert('100', 'EUR', 'USD');

The code above will convert 100โ‚ฌ to USD.

You can also use the get current currency function to retrieve the currency the user is using.

Leave a Reply

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

*
*