Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

Product Country Restrictions

Restrict WooCommerce products to certain countries.

Do you have products in your WooCommerce shop that you for some reason can't sell to customers in certain countries?

If you do, this is the plugin for you!

For each product in your shop, you will be able to specify a list of countries that you may sell that particular product to. Or, you can specify a list of countries that you don't want to sell to.

Geolocation is used to determine what country the visitor is in, if their country is not in the approved list of countries for the product, the add-to-cart button will be disabled.

You will need WooCommerce 2.4 or newer.

Does support translation.

Author Bizilica
Profile
Contributors Bizilica
Tags woocommerce
  1. product-country-restrictions screenshot 1

    You can exclude a list of countries for a product

  2. product-country-restrictions screenshot 2

    Allow a product to be sold only to selected countries

  1. Upload the folder 'product-country-restrictionsto the/wp-content/plugins/` folder
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Edit a product to see your new options

Make sure you have setup "shipping countries" in woocommerce general settings.

0.4

  • You can now set restrictions for product variations
  • Under woocommerce/settings/products/display, you can configure the message that will be displayed when a product is restricted.

0.3

  • Initialization of the Geolocation DB at plugin activation

0.2

  • added check for proper WooCommerce version

0.1

  • Initial version.

Is this well tested?

Not really. But I do believe it will work, most of the time.

Is geolocation reliable?

Somewhat. For this purpose, it should be good enough. A clever user could of course bypass geolocation by using a proxy service.

Share  
Download
Version 0.4

Requires WordPress version: 4.0 or higher

Compatible up to: 4.6.3

Last Updated 02 Nov 2016

Date Added: 21 Sep 2015

Evaluation
star1
star2
star3
star4
star5

4 stars
2 ratings
1,248 downloads

Compatibility

Not Enough Data

Reports:
Works: 0
Broken: 0