1. Home
  2. Docs
  3. Country Based Restrictions for WooCommerce

Country Based Restrictions for WooCommerce

This plugin allows you to restrict products on WooCommerce shop to sell (or not) on specific countries, using WooCommerce Geolocation.

HOW IT WORKS

The Country Based Restriction plugin (CBR) determines the customers country by a few rules with priority:

  1. Customer shipping address – if this is a returning customer (logged-in) the address will be taken from his WooCommerce account
  2. WooCommerce GeoLocation – if a shipping country is not set for the customer, the plugin will use the WooCommerce Geolocation to detect the shipping country.
  3.  If a customer changed his shipping country during checkout, if there are products in their cart that are restricted for the new shipping country, these products will be removed from the cart and a message will display.

From the plugin settings you can set the restricted products visibility rules, you can hide the restricted products completely, you can just hide the restricted products from the shop and search but they will still be accessed by direct link, or you can make the restricted products visible on the catalog but non purchasable.

To set a country restriction rule to a product, go to the product admin and in the WooCommerce product data panel, under CBR settings. you can set a list of countries to restrict for sale. If you got the Country Based Restrictions Pro plugin, you can set the restriction rules in bulk by the product category or upload the restriction rules with CSV file.

Screenshots

Was this article helpful to you? Yes No

How can we help?