Price Currency Conversion in Magento

Wednesday, October 31, 2012
This article is to show you how to convert price amount from one currency of the shop to another currency.
// Currency conversion rates have to be available in the target currency
$fromCur = ‘USD’; // currency code to convert from – usually your base currency
$toCur = ‘EUR’; // currency to convert to
$price = Mage::helper(‘directory’)->
currencyConvert(1000, $fromCur, $toCur);
// if you want it rounded:
$converted_final_price = Mage::app()->getStore()->roundPrice($price);


  1. Wow what a fabulous post.I fell glad on this post.Can you more share at here.

    Thanks for more info.........

    hot penny stock picks

  1. rajthegr8 said...:

    thanks penny...i will share more here..

Post a Comment