Country Based Restrictions for WooCommerce
Country Based Restrictions for WooCommerce
Description
If you have products that you want to be available to purchase only to customers to specific countries? Do you have products that you Do Not want to be available to purchase to specific countries? The country based restrictions plugin by zorem works by the WooCommerce Geolocation or the shipping country added by the customer and allows you to restrict products on your store to sell or not to sell to specific countries
Key Features
- Restricted products to not be show completely
- Hide restricted products completely from the shop and search but let users enter them from a direct link.
- Keep restricted products visible on the shop and search (but not purchasable)
- Choose for each product the restriction rule (include or exclude) and choose the countries to apply the rule
PRO Features
- Bulk restrict products by Category, Tags, Attributes, Shipping class, Global(All Products).
- Bulk restrict products by CSV import
- Disable Payment methods by restected countries.
- Hide Product Price for Restricted Products
- Remove Single product rule by Bulk Action.
Get the Country Based Restrictions Pro >
How it works
- Go to plugin settings and set up the general visibility options
- For each product in your catalog you can set if to allow or disallow to a list of countries.
- WooCommerce shipping country is used to determine what country the visitor is from a country which is restricted for a product, if a shipping country is not set, WooCommerce Geolocation is used.
You will need WooCommerce 3.0 or newer.
Does support translation.
Installation
- Upload the folder ‘woo-product-country-base-restrictions
to the/wp-content/plugins/` folder - Activate the plugin through the ‘Plugins’ menu in WordPress
- Make sure you have set up “shipping countries” in WooCommerce general settings.
- Edit a product to see your new options
Faq
Yes
Yes
Reviews
Great support
By walstice on November 20, 2025
Fast and reliable support, thank you.
Nice plugin
By goodmansdyr on April 20, 2025
I have been using this pluging for 3 years and it has been always very helpful 😀👍
helpful, great plugin!
By feourives on April 15, 2025
Great for shipping restriction
No proper integration with WPML
By Picard (piotrku) on August 18, 2024
Does not integrate well with WPML - you want to limit the product availability in one country and then you have to go through all the language versions and set this option for that product.
No answer for hiding products from default theme shop page
By optimystery on April 4, 2024
I'm using Storefront by WooCommerce.
The plugin fails to hide products on the shop page. No sensible reply from the developer about why this is not working.
Great Product and Great Support
By teodoryc on December 4, 2023
I had some issues at first while configuring global country restriction rules, but I contacted the plugin support and they sent me a fixed version of the plugin, so everything is working as expected now. I had similar issues with my setup before while using another plugin, but their support couldn't help me, so I had to find another solution and it worked with this plugin. So if you need to have multiple global rules (used for example on many product variations), I recommend choosing this plugin.
Does the job very well!
By alexandreepicerie on March 14, 2023
Restricts certain products I've chosen to certain countries, just what i wanted.
Developer site down
By hardtruth3456 on December 13, 2022
Intermitent issues with cache
By Maisonwhite on August 24, 2022
Work fabulously!
By wizlet130 on May 26, 2022
Changelog
3.7.6
- Dev – WP tested upto 6.8.3.
- Dev – WC Compatibility added upto 10.3.5.
- Fix – Update deprecated WooCommerce script handles to new handles (WC 10.3.0+).
3.7.5
- Improved – Updated the promotional notice.
- Dev – WC Compatibility added upto 10.1.2
3.7.4
- Improved – Updated the promotional notice.
- Improved – Updated the settings page design
- Dev – WP tested upto 6.8.2
- Dev – WC Compatibility added upto 10.0.4
3.7.3
- Improved – Updated the promotional notice.
- Dev – WP tested upto 6.8.1
- Dev – WC Compatibility added upto 9.8.5
3.7.2
- Fix – Removed the .htaccess files
3.7.1
- Enhancement – Added a review request admin notice
- Dev – WC Compatibility added upto 9.8.1
3.7.0
- Dev – WP tested upto 6.7.2
- Dev – WC Compatibility added upto 9.7.1
- Improved – Improved a New admin message design
- Tweak – Updated the settings page design
- Tweak – Updated the settings text and tooltips
3.6.8
- Dev – WP tested upto 6.7
- Dev – WC Compatibility added upto 9.4.2
- Enhancement – Added a black friday admin message
3.6.7
- Enhancement – Added a admin message for return plugin
3.6.6
- Dev – WP tested upto 6.6
- Dev – WC Compatibility added upto 9.2.3
- Dev – Added Compatibility with Advance search WOO plugin
3.6.5
- Dev – WC Compatibility added upto 9.0.2
- Fix – Restriction not working on search products.
3.6.4
- Fix – The error is undefined $suffix varibale
3.6.3
- Fix – The error is jQuery(…).block is not a function
3.6.2
- Dev – WC Compatibility added upto 8.7.0
- Dev – WP tested upto 6.5
- Enhancement – Added UTM link for all the external links to zorem.com
3.6.1
- Dev – WC Compatibility added upto 8.5.2
- Fix – Patched a vulnerability concerning nonces in admin notices
3.6
- Dev – Added Compatibility with Wholesale for Woocommerce plugin
- Dev – WC Compatibility added upto 8.4.0
- Dev – WP tested upto 6.4
3.5
- Dev – Added Compatibility with PHP 8.2
- Dev – WC Compatibility added upto 8.2.1
- Dev – WP tested upto 6.4
3.4
- Dev – WC Compatibility with HPOS
- Dev – WC Compatibility added upto 7.8.1
- Dev – WP tested upto 6.2
3.3
- Dev – WC Compatibility added upto 6.8
- Dev – WP tested upto 6.0
3.2
- Dev – WC Compatibility added upto 6.3
- Dev – WP tested upto 5.9
- Enhancement – Added compatibility with Customer Reviews for WooCommerce
- Enhancement – Added Docs and Review link on plugins page
- Tweak – Updated the settings page design
- Fix – bug on checkout when billing country change
3.1
- Dev – WC Compatibility added upto 5.6
3.0
- Dev – WC Compatibility added upto 5.5.2
2.9.1
- Dev – WP Compatibility added upto 5.8
2.9.0
- Fix – Error – Warning: in_array() expects parameter 2 to be array, null given
- Fix – Fix the issue of Subscription variation restriction
2.8.9
- weak – updated settings design.
- Dev – WC Compatibility added upto 5.1
2.8.8
- weak – updated settings design.
- Dev – WP Compatibility added upto 5.7
2.8.7
- Dev – WC Compatibility added upto 5.0
2.8.6
- Fix – Tool Bar /debug mode CRITICAL Bug
- Fix – Related Products / WC products widgets – BUG
2.8.5
- Fix – Hide Completely – select a page to redirect BUG
2.8.4
- Fix – Fixed country and state dropdown slection issue in checkout page
2.8.3
- Tweak – updated settings design.
- Enhancement – Free plugin not run if PRO is activated.
2.8.2
- Tweak – updated settings design.
2.8.1
- Fix – Issues with geo location / widget detectors.
2.8.0
- Dev – WC Compatibility added upto 4.8
- Dev – WP Compatibility added upto 5.6
2.7.9
- Tweak – updated settings tab design.
- Enhancement – Added addons tab.
2.7.8
- Tweak – updated settings tab design.
2.7.7
- Tweak – changed label of option.
- Enhancement – Added options(Pro) for Country detection widget customize.
- Enhancement – Added CBR widget(Pro) for customer.
2.7.6
- Fix – css issue in settings.
- Tweak – updated settings tab design.
- Tweak – changed label of option.
- Enhancement – Added cart message option(Pro) for changes cart restriction message.
2.7.5
- Fix – css issue in settings design.
- Fix – issue of countries list dropdown option.
2.7.4
- Fix – css issue in settings design.
2.7.3
- Dev – WC Compatibility added upto 4.5
- Dev – WP Compatibility added upto 5.5
- Fix – css issue in settings design.
- Fix – issue of subscription variation product
- Tweak – design UI/UX.
- Tweak – changed label of option.
- Tweak – input textarea valid for Html tag/class.
2.7.2
- Fix – Invalid argument supplied for foreach().
2.7.1
- Dev – WC Compatibility added upto 4.3
- Dev – Added Compatibility with Visual composer
2.7
- Enhancement – Added Bulk Action option(Pro) for remove single product rule.
- Tweak – optimized Wp query to improve site speed.
2.6.9
- Enhancement – Added new Pro option of Global(All Products) in Bulk restriction setting.
- Fix – issue of WPML competibility.
2.6.8
- Enhancement – Added new Pro option of hide restricted product price.
2.6.7
- Fix – css issue in settings design.
- Tweak – updated settings tab design.
- Tweak – changed label of option.
2.6.6
- Fix – issue of redirect 404 error page.
- Tweak – design and changed label of option.
- Tweak – input textarea valid for Html tag/class.
2.6.5
- Tweak – design and changed label of option.
2.6.4
- Tweak – PRO tab design.
- Enhancement – Added option of 404 error page redirect to shop page in setting.
2.6.3
- Tweak – setting design.
2.6.2
- Tweak – design UI/UX.
2.6.1
- Fix – A black bar will appear at the top of the site.
- Fix – js issue on email customize.
- Fix – error.
2.6
- Enhancement – Added Pro option of 404 error page redirect to shop page in setting.
- Tweak – Improved setting design.
2.5.4
- Dev – WC Compatibility added upto 4.0
- Dev – WP tested upto 5.4
2.5.3
- Enhancement – Added Pro tab in setting.
- Tweak – Updated setting design.
2.5.2
- Fix – bug fix.
2.5.1
- Enhancement – Added option of Hide Variation Products in Setting.
2.5
- Dev – CBR pro compatibility added.

