Home » Magento16 July 2010

Magento: How to get Currency Rates?

You can see the currency Rates from Magento Admin
System -> Manage Currency Rates

You can change base currency and allowed currencies from
System -> Configuration -> GENERAL -> Currency Setup -> Currency Options

Now, here I will show you how you can get currency rates values for any given currency code.

Here, I will be fetching currency rates for base currency. You can keep any currency code instead of basecurrency.

Similarly, you can get currency rates for any currency code. But remember that the currency should be set as allowed currency in
System -> Configuration -> GENERAL -> Currency Setup -> Currency Options -> Allowed Currencies

Hope this helps. Thanks.

Magento

Get New Post by Email

Find me on

FacebookTwitterGoogle+LinkedInRSS Feed
  • Pingback: Tweets that mention Magento: How to get Currency Rates? | Mukesh Chapagain's Blog -- Topsy.com()

  • Hi, really useful but I cannot work out how to get the currency code for a specific order.

    I have…

    $order = new Mage_Sales_Model_Order();
    $incrementId = Mage::getSingleton(‘checkout/session’)->getLastRealOrderId();
    $order->loadByIncrementId($incrementId);

    and expected this to get my currency code…

    $order->getCurrencyCode();

    Any ideas?

    Thanks

  • Thought I should answer my own question…

    $order->getOrderCurrencyCode();

  • Sorry, no idea Jim !

  • Bharat Paghadal

    hello,

    How can i display a multi currency like as below.

    Us Dollar : $23
    Euro : (eurosimbol)34
    Rs : Rs100

    how can i display this in product view page.