Home » Magento28 August 2012

Auto Currency Switcher: Magento Extension [FREE]

Auto Currency Switcher is a currency switcher extension which automatically switches store currency based on visitor’s IP address.

This module is compatible with Magento version 1.3 and later (Magento 1.3, 1.4, 1.5, 1.6, 1.7).

Auto Currency Switcher extension tracks visitor’s IP address and automatically changes the store currency to the visitor’s location currency. Visitor can switch to his/her desired currency at any time.

This extension uses MaxMind’s GeoIP technology for IP address lookup.

No extra configuration settings is to be made. Just install the module in your multi-currency Magento shop and the module will work on the fly.

But remember that, you should first setup/enable multiple currency on your shop. Here is how to do so:-
Magento: Setup multiple currency shop

Features:-

- Easy to install and use
- 100% Free
- 100% Open Source

Install Auto Currency Switcher Extension from Magento Connect
Auto Currency Switcher

While installing or trying to get extension key for this module, you might get confused about Magento Connect Version. There are 2 versions available currently: Magento Connect 1.0 and Magento Connect 2.0.

The Magento versions which carry Magento Connect 2.0 are:-

Enterprise Edition 1.9-RC3 & later
Professional Edition 1.9 & later
Community Edition 1.4.2.0-RC1 only
Community Edition 1.5 & later

More details:- Differences in Magento Connect Versions

For the above Magento versions, you have to select Magento Connect 2.0. For other Magento versions, you have to select Magento Connect 1.0.

Testing this extension

Here are the steps to test if this module is working or not.

- First of all, as mentioned above, you have to enable multiple currencies in your shop.

- Open app/code/community/Chapagain/AutoCurrency/Helper/Data.php

- Edit the following function as below:-

/**
 * Get IP Address
 *
 * @return string
 */
 public function getIpAddress() 
 {	
	// added this line for test
 	return "YOUR.IP.ADDRESS"; // put your ip address

	// commented this line for test
	//return $_SERVER['REMOTE_ADDR'];
 }

- Go to any product listing page.

- You should be able to see product price in the currency of the country’s IP which you have set in the above function.

Please note that sometimes this extension doesn’t perform due to browser cache. If you find this module not working then try clearing your browser cache. Or, try opening your website in another browser.

If you have any further queries then please drop a comment on this blog post or on the
Auto Currency Switcher Extension Page itself.

Note: This extension was published on Magento Connect on around May 2011.

Thanks.

From Mukesh Chapagain's Blog, post Auto Currency Switcher: Magento Extension [FREE]

php magento mukesh chapagain

Get New Post by Email

Find me on

Facebook Twitter Google+ LinkedIn RSS Feed
  • Nicholas Easter

    Any chance you’ll keep the .DAT file up to date. I’ve been using the same file since you first released the module and seems like it hasn’t been updated in a long while.

  • http://blog.chapagain.com.np/ Mukesh

    The extension has been updated with the lastest GeoIP.dat file.

  • Nicholas Easter

    Do you think you could keep the GeoIP.dat most recent on your website or a source of where to retrieve it from. I’ve tried a few things, however without success.

    Also, just tried on Magento Connect and appears to be the same extension as previous 0.1.4 with the old database file.

  • http://blog.chapagain.com.np/ Mukesh

    Please go to ‘Release Notes’ tab in the extension page. From there you can install the latest version of the extension.

    You can also download the .DAT file from here: http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz

  • Nicholas Easter

    Thank you :)

  • Mansur

    Hello Mukesh,

    I have installed your extension, I have 2 issues: the path of .dat file to update.

    I have one issue in magento 1.6.1, I can not see INR in base currency and default currency. how to get the INR in the list

  • Cj

    I have check it on magento 1.7 this is not working

  • swathi

    Hi Mukesh, i have installed u
    r Auto currency switcher extension and i followed u r instructions, but
    on thing i need to clarify from you.That is i want to show prices
    changes for all products in my store only based on IP address changes.i
    don’t want to show on change action in category pages like what u said
    for admin settings ,please help me out

  • RR

    I have not installed this extension, but can you please let me know… at the time of checkout.. what price it will pick.. let say in Canada Doller is default.. and product price is $20, if I put some extra cost for USA. means after converting product price into US $ it should be around $17 but I want it should charge $19 in USA..

  • http://www.facebook.com/profile.php?id=643105322 Mark Harburn

    Any chance you can make this remove tax based on IP too? :)

  • Shardul

    Hi can u tell me please will this extension useful in different price for different countries with currency symbol from front side

  • Kevin

    Is it possible to select the shipping country based on IP?

  • unitedsol

    Have a look at a Currency and Language switcher put together http://www.fmeextensions.com/magento-geo-ip-default-language-currency.html

  • Jorge

    Not working on 1.7

  • Frank

    Hi, your currency Switcher works fine. happy with it. The only problem i have with it is using it with paypall. Althoug the entire order process in the UK in in GBP (based on the Ip-address) Paypal converts the GBP in EUROS. Is this a know issue?

  • http://www.ibrahimzafar.com/ Daudi

    not working on 1.7 magento

  • Chris Hood

    I can’t get this to work with Magento CE 1.7.0.2. I tried testing using the Data.php file as well as trying to test using proxies. In both cases my default currency (US Dollar) shows on the category and product listing.

  • guest

    Does not work with Magento ver 1.7.0.2

  • John Smith

    I have install your extension and check by my IP but it is not working for INR currency according to my IP. Can you please suggest any changes for Default currency setting and base currency settings.

  • Ashish Khadpe

    Hi i am using magento 1.7 and extension number is 0.1.6.
    But still it is showing me USD only when someone is accessing from UK.

  • http://blog.chapagain.com.np/ Mukesh

    Have you enabled UK currency from System -> Configuration -> Currency Setup -> Allowed Currencies? After that, you also need to update and save currency rates from System -> Manage Currency -> Rates.

  • http://blog.chapagain.com.np/ Mukesh

    Have you enabled Indian currency from System -> Configuration -> Currency Setup -> Allowed Currencies? After that, you also need to update and save currency rates from System -> Manage Currency -> Rates.

  • http://blog.chapagain.com.np/ Mukesh

    It was not working for some countries. I have fixed the bug and updated the extension. It should work now.

  • http://blog.chapagain.com.np/ Mukesh

    It was not working for some countries. I have fixed the bug and updated the extension. It should work now. Btw, could you mention which country you were testing for?

  • http://blog.chapagain.com.np/ Mukesh

    It was not working for some countries. I have fixed the bug and updated the extension. It should work now. Could you mention which country you were testing for?

  • http://blog.chapagain.com.np/ Mukesh

    It had issue with some countries. I have fixed the bug and updated the module. Could you mention which country you were testing for?

  • http://blog.chapagain.com.np/ Mukesh

    I have updated the module and fixed the bug. It should work fine now. Btw, could you mention for which country the module didn’t work?

  • John Duur

    Magento ver 1.7.0.2 is not working… it always shows up USD currency. We have EUR USD and GBP currency enabled…. thanks!

  • Sibhi S

    It’s not working in magento1.7 and also magento1.8

  • Hesham Shanana

    Hello, i install the extension and did all the steps but it is not working, i’m trying to test it for Egypt, please advise me. Thank you