Geolocation Hook For WHMCS

Geolocation Hook For WHMCS

Developed By ModulesGarden

Compatible with WHMCS v7.7

ModulesGarden Geolocation Hook For WHMCS will automate the switch of a currency, language or even the template of your WHMCS client area depending on the location of your audience. Upon detection of a country from where each of your visitors is, these crucial elements of your website will be adjusted instantly to secure customer experience that is personalized to perfection.

Under quick and very simple configuration, you will be able to benefit from MaxMind GeoIP2 or apply your own submodule to identify the location of not logged in users. As another option, you can choose the template to be changed according to the device used, be it a tablet or a mobile, or even the domain your visitor was redirected from. The hook will grant you the flexibility to select specific pages of your website where the alteration of its components should be performed. It will be also up to you whether to permit your clients to personally switch the currency.

Cater to individual preferences of your visitors with consummate ease. Download Geolocation Hook For WHMCS for free and transform customer journey from dated to avant-garde!


  • Detect User Country With:
    • MaxMind GeoIP2 Submodule
    • Own Submodule
  • Set Up Automatically For Not Logged In Users:
    • Currency Per Country
    • Language Per Country
    • Client Area Template Per:
      • Country
      • Language
      • User Device (Mobile, Tablet)
      • Domain User Was Redirected From
  • Allow User To Switch Currency
  • Allow Change Of Client Area Template On Language Alteration
  • Select Pages Where Hook Should Be Active
  • Disable Hook For Specified IP Addresses And IP Pools
  • Disable Hook Redirects For Specified User-Agent Identifiers

General Info:

  • Supports PHP 5.6 Up To PHP 7.2
  • Supports WHMCS V7.2 And Later



5 stars
4 stars
3 stars
2 stars
1 star

Luke Watson @luke7728

February 1, 2019 at 06:49:15 PM

Does exactly what it says on the tin, great little hook that ensures visitors see the website in the correct language, and currency.

  • 8 months ago

Version Compatibility

Compatible with WHMCS v7.7

Full Version Compatibility

  • Selected versions of WHMCS v7.7
  • All versions of WHMCS v7.6
  • All versions of WHMCS v7.5
  • All versions of WHMCS v7.4
  • Selected versions of WHMCS v7.3
  • All versions of WHMCS v7.2

Support for this product

The best place to start if you need help with a specific product is to contact the developer. All WHMCS Marketplace developers have both a website and support URL listed.

Developed By ModulesGarden


v2.1.0 Released January 16th, 2019

Latest Version

  • New Feature: Set a different template based on the user device (tablet and mobile) - case #8
  • New Feature: Set a different template based on the domain from which the user was redirected to your website
  • New Feature: Disable the hook execution for specified IP addresses and IP pools based on their IP CIDR
  • New Feature: Disable the hook redirects for specified user agent identifiers (e.g. for Google Bot)
  • Improvement: The change of a language and a template will no longer be based on the redirection
  • Bug Fix: The currency will now be properly set on every site of the cart for non-logged in users - case #13, #14
  • Bug Fix: Minor code tweak-ups and configuration comments adjustments


Previous Versions

v2.0.1 Released July 23rd, 2018

View/hide detailed changelog

  • Bug Fix: Resolved minor issues with redirecting
  • Bug Fix: Corrected errors catching in cases the country cannot be located on the basis of the IP address


v2.0 Released February 8th, 2017

View/hide detailed changelog

  • Improvement: Fully rewritten code
  • New Feature: WHMCS V7 support
  • New Feature: MaxMind GeoIP2 submodule support
  • New Feature: Utilize own submodules to detect user country


v1.0.2 Released April 5th, 2016

View/hide detailed changelog

  • New Feature: Ability to define the HTTP response code for site redirection
  • Bug Fix: Resolved problem with SEO


v1.0.1 Released October 7th, 2015

View/hide detailed changelog

  • New Feature: WHMCS V6 support


v1.0.0 Released March 11th, 2013

View/hide detailed changelog

  • Initial Release


See also

GeoIP Localisation

Automatically detects visitor's location by IP and sets the language and/or currency you defined for that particular country.

German E-Mail Templates for WHMCS

Here you get a German translation of all WHMCS E-Mail Templates

Auto Currency

Fully supported Automatic Currency Selection WHMCS! The customers currency is detected automatically during their first order and set, so they always get to pay in their own currency!

German Admin Langfile

German translation of the WHMCS language file for the Admin area

Greek language file for client area

Greek language file for client area