Block access for countries on OpenCart

  • Block access to site from other countries
  • Last Update:
    Module version:
    Module format:
    5.x - 7.x
    ionCube Loader:
    for a domain
  • Block access to site from other countries - Screenshot 1
  • Block access to site from other countries - Screenshot 2

OpenCart extension that allows you to block access to your site for users from certain countries. That is, you can block the ability to use the site for customers from any country.

If your site is vulnerable to DDoS attacks from certain countries, you can quickly block access to them. Or if you see unwanted activity in your OpenCart store, such as orders from countries you do not serve, then it will also be useful to extend the ban to countries.

The module works only with the IPv4 protocol, the most common today. The IP of the visitor determines the country of his stay and is checked for blocking this country. The module works very fast, because it does not fulfill any external requests and does not process large data sets. The module has a database of IP-addresses by country in ASN format, divided into parts.

In a special field in the module settings you need to enter the two-character country code (ISO Alpha 2) for which the site will be blocked. It is also possible to register several circles of countries separated by commas.

You can set your own message on the lock screen or enable user redirection to another page or url.

Despite blocking users from certain countries, the module has the ability to allow useful bots and crawlers from these countries.

Module installation instructions:

  1. Upload the module in the admin panel in the "Extensions" : "Install".
  2. Go to the "Extensions" : "Extensions" : "Modules" and enable the module.
  3. Edit module. Enable the status of the module and adjust all its options to your needs and save the settings.
  4. Check module operation.
  5. Bingo!

v1.1 (03.04.2022) - Bugs fix
You must be logged in to view the files!

Write a review

Note: HTML is not translated!
    Bad           Good

There are no reviews for this product.

  • $15.00
Payment icons
  • The license key is provided automatically
  • Lifetime license
  • Activation without external requests
  •  Free license key for test domain
  • Only admin controller is encrypted
  • Extensions can be modified
  • Periodic module updates
  • Professional help from author
  • Free technical support - 1 year


  • OpenCart:,,,,,,,,,,,,,,

More OpenCart Extensions

Change log for products


Send Invoice on email


Get products by tags or by part of a tag


All products on main page


Alt Title product photo


Sell keys on OpenCart


Account Deleting