Author - Robert Popovic

Founder and Technical Director of LERO9, a web agency specializing in Magento and WordPress design and development.

I launched Magebase in April, 2010 and am its editor and contributor. My main topics of interest are Magento development, customization and how to get the most out of Magento with the least amount of headache.

More Info » Follow me on Twitter »

Reader Comments (3)

  1. Nital Shah
    March 19, 2011 at 7:31 am /

    is not working in magento v1.5

    please let me know what I should use in v1.5?

  2. prabha
    December 15, 2011 at 6:37 am /

    I’m using magento v1.4.
    My base currency is “INR” and I wan’t to convert currrent cuurrency to base currency.
    $priceOne = Mage::helper(‘directory’)->currencyConvert($price, $currentCurrencyCode, $baseCurrencyCode);

    not working above code????

    but $priceTwo = Mage::helper(‘directory’)->currencyConvert($price, $baseCurrencyCode, $currentCurrencyCode);
    working i,e vice versa its working.

    Please let me know the solution.


Add a Comment & Join the Discussion

Insert small snippets of code by using [code]{your_code_here}[/code]
For larger code blocks please use and paste your link.

You may also use the following HTML in your comment: <a href="" title=""> <abbr title="">
<acronym title=""> <blockquote cite=""> <cite> <em> <strike> <strong>