Contributions

InfoBoxes (Category Index)
Search: 

Auto change currency based on IP address location V1.0

Contribution to find customer IP address, look up the location of that IP address and change the currency of the store to the currency that country uses (as defined in database).

Uses session variables to ensure this check only happens once for each session. This means customers can also change the currency manually still.

Expand All / Collapse All

Auto change currency based on IP address location V1.2 12 May 2010

* All I changed in this version was step 5. Added an if statement to see if $location was empty under: $location = getUserCountry();

Just incase http://www.wipmania.com/ is down or incase you have other mods based on currency.

Changes by Steve Kostrey www.askvideo.com

* This is the FULL version (it bugs me when people only upload the changes).

Auto change currency based on IP address location V1.1 7 Nov 2009
Support thread 28 Dec 2008
Auto change currency based on IP address location V1.0 27 Dec 2008

Note: Contributions are used at own risk.