In this post, we’ll learn how to restrict products by shipping country. This is useful if you don’t want to ship to a specific country. Also, you’ll learn how to restrict your products by billing country. This is really useful if you don’t want to accept payments from a specific country.
In this case, we will hide the product prices and “Add to cart” buttons from the products. That means that customers from the blocked countries won’t be able to purchase your products, although they will see the products, the information, photos, etc.
Country Catalogs for WooCommerce
We will restrict products by shipping or billing country using the Country Catalogs for WooCommerce plugin.
This plugin allows you to restrict products, categories, variations, and coupons per country, continent, state, or province.
You can download the plugin here: Download Country Catalogs for WooCommerce Plugin - or - Read more
Set up the global settings to restrict products by shipping or billing country
In order to restrict products by billing or shipping country, go to WooCommerce > Advanced Country Restrictions and click on Open global settings to see the fields you need to restrict your products by shipping or billing country.
Let’s see first how to restrict products by shipping country, and then will see how to restrict the products by billing country.
OPTION 1: Restrict products by SHIPPING country
To restrict your products by shipping country, you need to move to the select these values in the general settings of the Advanced Country Restrictions plugin:
- Geolocation method: Shipping country/state on checkout
- Restriction method: Show product in catalog, disable add to cart, hide prices
- Restrict by: Country and continents
- Hit Save changes.
After that, move to the Products per country section, where you need to use these fields and values:
- Select country: Select the country or countries where you want to restrict your products.
- Sell in selected countries: No
- Click on Save changes
Once you apply these changes, when users add any of the selected countries to the shipping information, they won’t be able to place the order and complete the purchase.
OPTION 2: Restrict products by BILLING country
You can also restrict your products by billing country. Just select these values in the global settings of the Advanced Country Restrictions plugin:
- Geolocation method: Billing country/state on checkout
- Restriction method: Show product in catalog, disable add to cart, hide prices
- Restrict by: Country and continents
- Hit Save changes.
After that, move to the Product rules section, where you need to use these fields and values:
- Select country: Select the country or countries where you want to restrict your products.
- Sell in selected countries: No
- Click on Save changes
Now, your customers from the restricted countries won’t be able to purchase your products when they add the selected countries as their billing country.
Done!
Definitely, restricting your products for shipping or billing country is really simple with the Country Restrictions for WooCommerce plugin.
You can download the plugin here: Download Country Catalogs for WooCommerce Plugin - or - Read more