Author - Robert Popovic

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 (4)

  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.

  3. GNK
    January 10, 2018 at 3:43 pm /

    which is the filename and position to put this code to convert the currency kindly help me


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>


This site uses Akismet to reduce spam. Learn how your comment data is processed.