Country to Currency
Files
File Name |
Compatible Versions |
Country-to-Currency (15x/2x) |
v1.5.1.x, v1.5.2.x, v1.5.3.x, v1.5.4.x, v1.5.5.x, v1.5.6.x, v2.0.0.x, v2.0.1.x, v2.0.2.x, v2.0.3.x, v2.1.0.x, v2.2.0.x |
Description
On Demo, Scroll to the bottom to see your country and IP info displayed. This is what was detected by the script.
Supported OpenCart Versions:
================
1.5.x
2.x
What does it do:
================
This contrib adds a country check to automatically choose a currency based on the customer's ip address.
It uses a complete list of country-to-currency code matchups to show any supported currencies to the customer.
When the customer first visists your site, it will grab his IP address and lookup his country.
It will then match the country to the associated currency that is local to that country.
If that currency is one that your store supports and has enabled in the system, then it will switch to that currency automatically.
If the currency is not supported in your store, then it will default to your store default currency.
Requirements:
================
You must have the latest vQmod Engine installed from http://vqmod.com
Main features:
==============
* Uses IP lookup to get the customer's country
* Checks that the currency exists in opencart and sets it or defaults to you the store default currency.
* Country/Currency mapping can be easily changed at anytime
* Has multiple lookup systems in place. If the first fails, it tries the next.
* Sets cookie to avoid lookup on each page reload. Cookie lasts until browser close
* Shows the country code quietly in the footer (shows * if using cookie version)
* Still Allows customer to change their currency to something else.
* Sets the customer location in the session for tax so that the customer sees prices with/without tax according to their country.
Notes:
==============
* If you want to test it using a proxy or vpn, be sure you delete your browser cookies each time you reload the page with a new location.
It only detects the country if you don't already have a cookie with the value set.
* You must have the currency installed for it to switch.
- Example, if you do not have GBP installed, but come from UK, then it will not automatically switch
* IP Lookup sometimes fails on 3rd world countries.
- If country cannot be found by lookup it returns 'XX'. In this case it will just load the default currency.
Tags
Comments