Product Visibility by Country for WooCommerce

Rated 3.40 out of 5 based on 5 customer ratings
(5 customer reviews)

Display WooCommerce products by customer's country.


Author: Tom Anbinder SKU: N/A Category: Tags: , Version: 1.1.3; Last updated: 2 weeks ago; Requires WordPress version: 4.4; Tested up to: 5.0


Product Visibility by Country for WooCommerce plugin lets you show/hide WooCommerce products depending on customer’s country. Customer’s country is detected automatically by IP.

General Options

Plugins settings are located in “WooCommerce > Settings > Product Visibility by Country”.

Product Visibility by Country for WooCommerce - General Options

Hide catalog visibility
This will hide selected products in shop and search results. However product still will be accessible via direct link.
Default: yes
Make non-purchasable
This will make selected products non-purchasable (i.e. product can’t be added to the cart).
Default: no
Modify query
This will hide selected products completely (including direct link).
Default: no
Modify widget query
Enable this if you are still seeing hidden products in “Products” widgets.
Default: no

Meta Box

To set countries for each product, check “Product Visibility by Country” meta box on each product’s edit page.

Product Visibility by Country for WooCommerce - Meta Box

Visible in countries
Select “required” countries here. I.e. product will be visible in selected countries only. If no countries are selected – product will be visible in all countries.
Default: None
Invisible in countries
Select countries to hide product in. If no countries are selected – product will be visible in all countries.
Default: None

Product Terms Options

Product Visibility by Country for WooCommerce - Product Terms Options

Hide product terms
Enable this if you want to be able to hide product categories and tags.
Default: no

When enabled, “Hide product terms” option will add new options to category and tag edit pages in “Products > Categories > Category” and “Products > Tags > Tag”:

Product Visibility by Country for WooCommerce - Product Terms - Term Options

Admin Options

Product Visibility by Country for WooCommerce - Admin Options

Admin products list column
This will add “Countries” column to the admin products list.
Default: no
Select box type
Select box type on product’s edit page and on term’s edit page. Possible values: Standard; Chosen select.
Default: Chosen select

Prices & Licenses

Single siteUnlimited sites
1 year $19.99 $9.99 / year $29.99 $19.99 / year
Lifetime $39.99 $49.99


We want to ensure that you are 100% happy with your purchase, so if you feel the product(s) you purchased are not the best fit for your requirements and you attempted to resolve issues with product's author, we are offering 30 day money back guarantee refund policy.

5 reviews for Product Visibility by Country for WooCommerce

  1. Rated 1 out of 5

    Mayur Mohite

    Having issues not good

  2. Rated 1 out of 5


    Does not work

    • Tom

      Hi Tom,

      Sorry to hear that. Could you please give more details what is not working? And if you have any caching plugins installed (e.g. “W3 Total Cache”) – could you please try disabling it temporary to see if issue disappears. Or alternatively you can try keeping caching plugin enabled and enable “Geolocate (with caching support)” option for “Default customer location” option in “WooCommerce > Settings > General”. This should add “v” parameter to your URL address. Please let me know if that solves the issue.

      Best regards,

  3. Rated 5 out of 5


    Great plugin. Simple settings and works perfectly.

  4. Rated 5 out of 5



  5. Rated 5 out of 5

    Dave Goff (verified owner)

    Exactly what I needed and the developer has been amazingly responsive. I’m very impressed!

Add a review

19 thoughts on "Product Visibility by Country for WooCommerce"

  1. Tim Higgins November 28, 2017 at 9:24 pm #

    Why isn;t Puerto Rico listed in the countries list?


    • Ben July 15, 2018 at 6:45 pm #

      Because its not a country. Its a US territory.

  2. KAte November 29, 2018 at 10:00 am #

    Hi there, I successfully use your Product Visibility (by user) plugin and would love to use this one too, but the Country Selection box is just not visible on my product page. I have it activated, the check box in settings is ticked … I can only assume it’s a conflict, but seems odd as your other plugin works fine … Thoughts?


    • Tom Anbinder November 29, 2018 at 10:14 pm #

      Hi Kate,

      I’ve just re-checked, but unfortunately couldn’t reproduce the issue – meta box seems to be showing on product edit page as it should. One note though – unlike “Product Visibility by User Role” – by default meta box is displayed below the “Description” meta box (not in sidebar like user role visibility).

      If that doesn’t help – maybe I could login to your server admin and check what’s going on? If that’s fine – my email is

  3. systemcrack December 17, 2018 at 11:29 am #

    Hello, I’m really happy with your “Country Product Visibility for WooCommerce Pro” plug-in, just missing one thing because it’s perfect (for me)… adding the possibility to hide an entire category as well.
    If it does not even appear in the category widgets (the category does not appear in the list) .. it would be great !!!

    I would be very grateful if you could add this functionality to your plugin which is essential to me.

    Best regards
    Marco R.

    Forgive my bad English


    • Tom Anbinder January 4, 2019 at 6:23 pm #


      If anyone else has similar question – “Hide product terms” option was added in plugin version 1.1.1.

  4. Julian Schön January 24, 2019 at 7:34 pm #


    great product! What countries do you include in the european union?



    • Tom Anbinder January 24, 2019 at 8:10 pm #

      Hi Julian,

      Thank you.

      Here is the list of EU countries as currently implemented in our plugin (I’m giving country codes, hope that’s fine):

      'AT', 'BE', 'BG', 'CY', 'CZ', 'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GB', 'GR', 'HU', 'HR', 'IE', 'IT', 'LT', 'LU', 'LV', 'MT', 'NL', 'PL', 'PT', 'RO', 'SE', 'SI', 'SK'

      Hope that helps. Please let me know if you have any questions.

  5. Julian Schön January 24, 2019 at 8:14 pm #

    Right so if I choose the european union one then it will include all fo the above? I don’t need to type in all, right?




    • Tom Anbinder January 24, 2019 at 9:07 pm #

      Yes, that is correct.

  6. davegoff February 3, 2019 at 2:08 am #

    The visibility option for terms isn’t working for me. Items marked as EU visible only are still showing up unless I apply the setting on the product.

    I have tags set like this:
    Tag 1 “EU Countries” – Visible in : European Union
    Tag 2 “Non-EU” – Invisible in : European Union

    Am I ding something wrong?


    • Tom Anbinder February 7, 2019 at 10:04 pm #


      Sorry for a late reply. I’ve just checked and you are correct – there is an issue with selecting “European Union” option for hiding terms. Already fixing it – will release new version in an hour or so. Thanks for reporting.

    • davegoff February 7, 2019 at 10:20 pm #

      Sounds good, thanks for getting back to me!
      Great plugin.

    • Tom Anbinder February 7, 2019 at 10:38 pm #

      Thank you.

      I’ve just released new plugin version 1.1.2. Now the “European Union” option should work properly with terms. Please let me know if something is still not working as expected.

      P.S. If you like the plugin, please consider leaving us a rating.

  7. Dave Goff February 11, 2019 at 12:34 am #


    I have another issue. IF someone uses a direct link to a product that isn’t available to them, they get an error 404. Is there a way to customize the response specifically to this issue?


    • Tom Anbinder February 11, 2019 at 2:33 pm #

      Hi Dave,

      Sure, no problem. I’ve just released new plugin version 1.1.3. After the update you will find new “Redirect URL” option in “WooCommerce > Settings > Product Visibility by Country > General Options > Modify query”. Please let me know if it’s not working as expected or if you have any questions.

  8. Firdaus February 12, 2019 at 5:28 am #

    When I check this box :
    Modify query : This will hide selected products completely (including direct link). I am receiving the below error on my website front page.

    This page isn’t working is currently unable to handle this request.
    HTTP ERROR 500


  9. Fabricio February 15, 2019 at 4:35 pm #


    My store has two products, one is a physical book (available only in Brazil) and the other is an ebook (available elsewhere).

    With your plugin, it was working fine, until a few days ago.

    Since then, the product that should be visible in Brazil only is invisible anywhere, and the ebook is visible anywhere.

    What is going on? Please, thanks.


  10. Arian February 21, 2019 at 3:19 pm #


    Does this also work for product variations? Or only for products. If not, could this function be added soon?

    Kind regards,


Leave a Reply


= 1.1.3 - 10/02/2019 =
* Dev - Modify query - "Redirect URL" option added.

= 1.1.2 - 08/02/2019 =
* Fix - Product Terms - "European Union" option fixed.
* Dev - Code refactoring.

= 1.1.1 - 04/01/2019 =
* Dev - "Invisible in countries" option moved to the free version.
* Dev - "Hide product terms" option added to Pro version.

= 1.1.0 - 12/11/2018 =
* Fix - Modify query - Possible pagination issue fixed.
* Dev - Modify query - "Modify widget query" option added.
* Dev - Admin Options - "Select box type" option added.
* Dev - "European Union" added as country selection.
* Dev - Admin settings restyled.
* Dev - Code refactoring.
* Dev - Plugin URI updated.

= 1.0.0 - 30/08/2017 =
* Initial Release.


  • Buy the plugin 🙂
  • Download plugin's zip to your computer (you will receive an email with download link, or you can always download the plugin from your account).
  • Go to Admin Dashboard > Plugins > Add New > Upload Plugin and browse for downloaded zip file.
  • If plugin is successfully installed - you should see it added to the Plugins list.


To keep WPCodeFactory items up to date, please install WPCodeFactory Helper plugin and enter your site key.