Community Add-Ons

Maintainers: seb1188
Add file to this package
Top » InfoBoxes

Auto change currency based on IP address location V1.0
for osCommerce Online Merchant v2.1

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.

Legend:  Download   Report

Expand All / Collapse All

Auto change currency based on IP address location V1.2 askvideo 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 seb1188 7 Nov 2009  
Support thread seb1188 28 Dec 2008  
Auto change currency based on IP address location V1.0 seb1188 27 Dec 2008