Prestashop Hide products by country

With this plugin you can hide products for selected countries. Module to identifi origin of visitor uses geolocation tool. Each item than you sell in shop can have own unique settings of hide feature

Shop version 8.x, 1.7.x, 1.6.x PrestaShop 8.0 support Yes :-)
Available translations
Module version 1.5.3
Works with ThirtyBees Yes
Public help and discussion Open forum discussion
  • Trusted developer of module Hide products by country
  • Support to the module Hide products by country
  • Free updates of the module Hide products by country
  • Open source - you can edit module code Hide products by country
  • Module Hide products by country works with PrestaShop 1.7
  • Module Hide products by country works with PrestaShop 1.6
  • Module Hide products by country works with PrestaShop 8.0

More info: Prestashop Hide products by country

As short description above says with this addon you can easily define visibility of products in Countries. Whole identification process of country is based on geolocation ip feature. With this great tool prestashop can classify visitor as a guest from some country. And then - based on module settings - hide product on list of products, or not.


product's visibility in countries


Each item in your shop can have own unique settings of visibility in country. This means that some products can be visible in selected countries, while other items will be hidden in these countries. This module hides product on list of products like category pages, search results, featured products module etc.

Two methods of visitor origin identification
by geolocation (IP)  by delivery address
Module by default uses identification of visitor country by its ip address. Module can also identify visitor country by its delivery address


Visibility of products

When module will identify visitor origin and if product will be hidden for this country, this customer will not have possibility to:

  • see product on all lists of products (like category pages, search results, "related products" etc.)
  • see product page (for example if customer will click on link to product page in google - module will hide this product page for visitor)
  • purchase this item, if somehow customer added item to cart previously (before configuration of unavailability of product in country)


Simulate visit from other country

Module allows to simulate visit from defined country. Thanks to this you can test the configuration and verify if module hides products properly and if effect meets your requirements. Option to simulate visitor origin is available on module configuration page. This feature is based also on IP address - just enable the feature, type the IP address from expected country and test the plugin in front office.

Exclude some users from country check

Module allows to exclude some user accounts (exactly selected users) and customers' groups from country verification. This means that these customer accounts will see all products from your store.


Support of faceted search (block layered navigation)

Module is ready to work with product's filter module like ps_facetedsearch (so-called filters block) in PrestaShop and also block layered navigation addon in PrestaShop 1.6.x

Geolocation tool usage

In PrestaShop 1.6 geolocation tool is based on old maxmind database GeoIP. Module allows to disable usage of GeoIP database usage. Instead of this you can use extended GeoIP2 maxmind country / city database. Thanks to this ip database will be actual and module will identify countries properly.

Usage examples of module: Prestashop Hide products by country

  1. Module to hide product in country
  2. Module to hide products by countries
  3. Hide items in some countries
  4. Allow to purchase product in some countries only
  5. Country-restrictions for products
  6. availability of product by delivery address

Associated videos: Prestashop Hide products by country

No video is associated with this module at the moment

Module reviews: Prestashop Hide products by country

Reviews were placed by customers that purchased this addon. If you already purchased this plugin and if you expect to left a review - you will get an email form shop after 2 weeks from purchase. This email will contain reminder about pending comment with url to review form
Average grade

Frequently asked questions

Feature under construction

Associated blog posts

No blog entries associated with this product

Hide products by country Changelog - informations about updates


- added improvements to identification of country based on cart address



- added improvements to exclusion's search tool to avoid problems with configuration in prestashop 8.x



- added "whitelist" feature that will not hide products for google bot and other crawlers (seo-related improvement)



- added improvements to module workflow in cart 



- added improvements to module workflow in prestashop 1.6.x to avoid fatal errors on product pages


1.4.8 | 2021-06-09 02:51:48

- added improvements to module workflow in environments that use cloudflare


1.4.7 | 2021-06-02 19:01:49

- added feature to identify visitor's origin also by its delivery address

- thanks to this you can use both geolocation (by ip) and delivery address as a country identification methods


1.4.6 | 2020-11-18 04:34:43

- added feature to check all / uncheck all countries


1.4.5 | 2020-09-01 17:29:13

- added improvements to design of the module on its configuration page


1.4.4 | 2020-08-30 02:21:22

- added feature to exclude some users (exactly selected users) from country check

- added feature to exclude some groups of customers from country check


1.4.3 | 2020-06-25 07:39:43

- added new feature to bulk define settings for products

- you can quickly activate / deactivate products for countries by associations between product and category or between product and manufacturer


1.4.2 | 2020-02-14 17:19:27

- updated link to maxmind geoip2 database



- added new feature to module dedicated for prestashop's 1.6.x related to geoIP2 usage

- you can decide what geolocation module will use

- you can use prestashop's default geolocation tool or geoIP2



- released new major version with improvements of module workflow in prestashop 1.7.x 

- from now ps_facetedsearch module is supported properly - module hides also products for pages where ps_facetedsearch filters products

- added new feature to simulate visitor ip - you can use it for test purposes

- added full German translation

- added full Italian translation

- added full Spanish translation



- added improvements to module updates checker (updated link to product)



- added improvements to override dedicated for prestashop 1.6.x

- added improvements to country identification methods



- released version that is ready to work with prestashop 1.6.x

- added improvements to country selection form, you can "check" checkbox much easier now (it is enough to click on country name)



- added fixes to "save" process of country restricitons on product edit page (in prestashop



- started project on mypresta addons marketplace