Post by Johnathan » Thu Oct 16, 2014 7:38 am

Image

Current Version: v2023-12-03 (release notes)

OpenCart Versions: 1.5.2.x - 4.0.2.x

To Purchase: Visit Clear Thinking or opencart.com

Image Image Image

Change the currency or language, and redirect or block customers, based on their geo IP location! This extension automatically determines the customer's location based on their IP address, as well as lets you choose whether to display a pop-up that allows the customer to change their location, to avoid inaccuracies.

  • Upload and go — no core file modifications are necessary. The extension utilizes vQmod for OpenCart 1.5.x, ocMod for OpenCart 2.x/3.0, and Event hooks for OpenCart 4.0.
  • Take advantage of the built-in extension updater. All that's required is to enter your current license key and click "Update".
  • Enjoy peace of mind: all settings are backed up to a backup file every time the admin panel is loaded. Settings can also be manually backed up, and then downloaded to restore from later, or to edit in a spreadsheet application.
  • Automatically set the currency and language based on the IP address of the customer.
  • Redirect customers to a specified URL, or block specific URLs for customers, based on their IP address and/or geo IP location.
  • Optionally request the browser location from the customer, for more accurate positioning data than their IP address provides.
  • If the browser location request is turned off or fails, allow the customer to choose their location within a pop-up that appears when first visiting the site.
  • Automatically set the customer's shipping country, zone, and postcode based on the determined location.
  • Optionally download and use a local database file to improve the speed of geo IP lookups.
  • Use the included Testing Mode to determine why things are not working on the front-end as expected.


Image Image Image Image Image Image Image

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Sat Nov 22, 2014 4:50 am

Updated to v200.2

Release Notes:

- Fixed: errors when the geo ip service was not available
- Fixed: issue with state/region dropdown occasionally not loading
- Fixed: redirecting on non-home pages doesn't always work
- Updated: zipcode to zip_code to accomodate the geo IP service change

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Tue Dec 09, 2014 7:28 am

Updated to v201.1

Release Notes:

- Added: compatibility with OpenCart 2.0.1.x
- Added: fallback geo ip service in case the default is unavailable
- Added: ability to use a wildcard in a redirect, for appending URL data
- Fixed: error messages improperly being diplayed

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Thu Jul 02, 2015 2:44 am

Updated to v203.1

Release Notes:

- Added: limited mobile device styling for the pop-up
- Confirmed: compatibility with OpenCart 2.0.2.x - 2.0.3.x
- Fixed: state/region dropdown can be longer than the popup window
- Fixed: Restore Settings doesn't work with files using Windows line endings
- Updated: replaced freegeoip.net API calls since it is no longer working
- Updated: reduced curl timeouts to 3 seconds
- Updated: settings backup file now does not include 2 extra blank columns

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Wed Oct 28, 2015 12:51 am

Updated to v210.1

Release Notes:

- Added: compatibility with OpenCart 2.1.0.x
- Added: auto-saving can now be turned on or off, directly in the admin panel
- Fixed: "Undefined index: postal_code" error for locations without postcodes
- Fixed: "Undefined index: popup_zone" error
- Fixed: redirects using wildcards sometimes had issues with & symbols in URLs
- Fixed: error messages when geo IP service fails to set geo location
- Fixed: issues when used with Restrict Shipping/Payment Methods in some OpenCart versions, due to location data being set for all OpenCart versions

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Thu Nov 19, 2015 3:53 am

Updated to v210.2

Release Notes:

- Added: ability to use a local geo IP database file to pull location data
- Removed: telize.com geo IP service, since it has been discontinued
- Updated: instructions.txt file with local database information
- NOTE: Using a local geo IP file should be faster than using the geo IP service, though the extension will still fall back to that if no geo IP file is present, or the location is missing. To add a local geo IP file, just download one using the links in the admin panel, and then upload it to:
/system/geo_ip_tools/

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Fri Jan 15, 2016 3:35 am

Updated to v210.3

Release Notes:

- Added: option to hide fields in the pop-up box
- Added: support for browser geolocation requests -- this means the browser can request the GPS location from the user, rather than base it off their IP
- Fixed: Backup/Restore Settings buttons were missing from the last update
- Updated: admin panel is now divided into tabs
- Updated: as per user request, Testing Mode messages are now in their own tab in the extension, instead of in the general Error Log

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Tue Mar 29, 2016 3:25 am

Updated to v220.1

Release Notes:

- Added: compatibility with OpenCart 2.2.0.x
- Added: ability to ignore certain user agents

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Thu Jun 02, 2016 1:50 am

Updated to v220.2

Release Notes:

- NOTE: If updating from a previous version, you'll need to set the text for the pop-up fields in the "Pop-up Box Settings" tab.
- Added: ability to set the currency/language in the pop-up
- Fixed: redirects with wildcard * characters did not work with the pop-up
- Updated: rules are now be processed by IP address first, then by pop-up or browser location
- Updated: the text for each pop-up field can now be set directly in the admin panel

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Wed Dec 14, 2016 1:46 am

Updated to v230.1

Release Notes:

- NOTE: This version is fully compatible with OpenCart 2.3.0.x by using the OpenCart 2.3 Extension Compatibility Fix, which is provided for free with the purchase of the extension

- Fixed: "Can't use method return value in write context" error
- Fixed: "Undefined index: HTTP_USER_AGENT" error
- Updated: ignored user agents are now checked for partial matches, instead of exact matches

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Fri Apr 14, 2017 4:14 am

Updated to v230.2

Release Notes:

- Fixed: extension occasionally required a page reload to affect the page, since it wasn't performing the server-side redirect if no currency/language/redirect change was happening
- Updated: visitors with blank User Agents are now ignored, since those are generally bots or site scrapers that don't set session data correctly
- Updated: the browser User Agent is now recorded in the Testing Mode log, to more easily add User Agents that the admin wants to ignore

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Fri Jul 07, 2017 4:06 am

Updated to v300.1

Due to limitations in the opencart.com license system, a new extension was released on opencart.com for OpenCart 3.0 compatibility. However, free updates are still available for anyone that has purchased the extension in July 2016 or after --- just contact Clear Thinking here: http://www.getclearthinking.com/contact

Release Notes:
- NOTE: The extension now uses ocMod instead of vQmod, as required by the OpenCart cloud. If upgrading from a previous version, make sure to delete the old vQmod file, and then click "Refresh" in Extensions > Modifications.

- Added: compatibility with OpenCart 3.0.0.x - 3.0.1.x
- Added: native compatibility with OpenCart 2.3.0.x (You can remove the compatibility fix, or keep using it if you want to)
- Removed: compatibility with OpenCart 1.5.x and 2.0.0.0 for new versions
- Updated: backup files no longer have an EXTENSION column, so you'll need to remove that from old backup files if you plan on restoring from them

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Wed Oct 11, 2017 11:12 pm

Updated to v302.1

Release Notes:

- NOTE: Starting with this version, all template files will use the .twig extension. These will still work completely fine on OpenCart 2.x versions, and still use the .tpl-type syntax. However, if you've made edits to the .tpl file, you'll need to port those edits over to the new file.

- Confirmed: compatibility with OpenCart 3.0.2.x
- Fixed: undefined variable errors caused by code changes in the last update
- Fixed: typo in the text for where to put the MaxMind database files
- Updated: renamed the template file to match the extension code
- Updated: updated IP detection so it accounts for proxies that use HTTP_X_FORWARDED_FOR or HTTP_CLIENT_IP

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Sat Apr 21, 2018 2:47 am

Updated to v302.2

Release Notes:

- Added: "Everywhere Else" comparison for the geo zone check
- Added: ability to limit a geo IP rule to a particular store
- Added: ability to redirect a customer to a particular store when the geo IP rule requirements are met (which forces that customer to stay on that store)
- Added: ability to ignore certain IP addresses

- Fixed: "Undefined variable: geo_ip_tools_popup" error for customers when their user agent was set to be ignored

- Updated: added some code to address a non-standard server variable used by CloudFlare servers that holds the real IP address of the visitor

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Thu Oct 25, 2018 11:45 pm

Updated to v302.3

Release Notes:

- Added: option to choose whether to set the address in the session data
- Fixed: "Everywhere Else" geo zone was not working properly

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Sat Jan 12, 2019 1:40 am

Updated to v303.1

Release Notes:

- Confirmed: compatibility with OpenCart 3.0.3.x

- Added: ability to set a Google Maps API Key for converting the browser location request from latitude/longitude to an actual address (make sure to save the new setting after updating)

- Fixed: the pop-up would always redirected users back to the homepage
- Fixed: servers that record multiple IPs will no longer affect the extension

- Updated: calls to Google Maps API now use curl
- Updated: moved most of the ocMod code into its own controller file, which makes it much easier to edit and update

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Thu Apr 16, 2020 3:55 am

Updated to v303.2

Release Notes:

- Added: pre-filled a few common user agents that most people want to ignore
- Added: new link for the MaxMind database, because they require you to log into their site to get it now

- Fixed: issues with browser location requests

- Updated: Testing Mode now has a button to download the log when over 1 MB
- Updated: Testing Mode log is now cleared automatically when over 50 MB
- Updated: store redirects should now use the URL the customer was visiting but redirect them to the correct store
- Updated: improved the Google Maps error messages to be more verbose
- Updated: added a note about browser location requests requiring the page making the request to be served on an https URL

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Sat Apr 17, 2021 1:11 am

Updated to v303.3

Release Notes:

- Added: ability to disable individual geo IP rules by using "-" at the beginning of the geo IP rule name
- Added: option to not set any currency/language (to avoid conflicts with other currency/language-changing extensions)

- Fixed: select dropdowns on mobile devices could be wider than the screen
- Fixed: "Blocked" error messages weren't being displayed in OpenCart 3.0
- Fixed: the geo IP database URL was correct, but the link itself was wrong
- Fixed: disabled currencies would still be shown in the pop-up currency list (and disabled languages would as well, in OpenCart 2.0 and 2.1)
- Fixed: redirects weren't always working correctly with the pop-up and the browser location request

- Updated: the geo IP location is now reset when clearing the Testing Mode log
- Updated: adjusted the height/scrolling CSS of the pop-up

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Wed Sep 01, 2021 11:50 pm

Updated to v303.4

Release Notes:

- NOTE: This version changes the "Everywhere Else" option for geo zone rules. There is now an "is within / is not within" selector for geo zones, so you can choose to compare against areas NOT within a geo zone. After updating, you will need to replace your old "geo location is within Everywhere Else" rules with "geo location is not within Any Geo Zone" rules.

- Added: better compatibility with NGINX systems
- Added: ability to set is within / is not within for geo zone rules
- Added: new field to specify a URL redirect that occurs every time

- Fixed: issues with session data being reset due to other modifications
- Fixed: URL redirects sometimes used the http version of the URL when they should have used the https version
- Fixed: wildcard redirects did not work on stores within sub-directories

- Removed: "Everywhere Else" option for geo zones

- Updated: included more bots in the default Ignore User Agents setting
- Updated: pop-up can now be closed by clicking the modal background
- Updated: the pop-up is now centered better and won't show up with scrollbars on Windows computers (thanks Maarten Kuiper!)
- Updated: logging messages for blocks and store redirects now include the visitor's IP address
- Updated: the MaxMind geo IP database on getclearthinking.com is now the latest version as of August 2021

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by Johnathan » Thu Aug 04, 2022 2:48 am

Updated to v2022-8-03

Release Notes:

- NOTE: Starting with this release, version numbers will now be based on the date the new version is released.

- Added: compatibility with OpenCart 4.0.0.x

- Fixed: pop-up wouldn't change the session address in some circumstances
- Fixed: the pop-up would appear if the browser location request was turned on, even if the pop-up was disabled
- Fixed: using "Redirect to this URL every time" would create a redirect loop if used with a page on the same OpenCart store

- Updated: reloading the admin page will now automatically select the same tab

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am

Who is online

Users browsing this forum: Semrush [Bot] and 165 guests