Product Country Restrictions

Plugin Banner

Product Country Restrictions

by Bizilica

Download
Description

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 3.0 or newer.

Does support translation.

  1. Upload the folder ‘product-country-restrictionsto the/wp-content/plugins/` folder
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Make sure you have setup “shipping countries” in woocommerce general settings.
  4. Edit a product to see your new options
  1. You can exclude a list of countries for a product

    You can exclude a list of countries for a product

  2. Allow a product to be sold only to selected countries

    Allow a product to be sold only to selected countries

Installation Instructions

  1. Upload the folder ‘product-country-restrictionsto the/wp-content/plugins/` folder
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Make sure you have setup “shipping countries” in woocommerce general settings.
  4. Edit a product to see your new options

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.

Doesn't work

By Worthdesigning (auntypizza) on September 29, 2018

Doesn't work, and there doesn't seem to be any support for the plugin. Crickets.

Doesn't actually block you from shipping or billing to excluded countries

By inwerpsel on March 27, 2018

Though the extension does succesfully use geolocation to remove the cart buttons, it doesn't prevent you from entering the excluded countries during checkout (neither billing nor shipping), which is probably what most people are looking for.

Thanks!

By hugo3387 on October 23, 2017

Saved my day.

Brilliant

By Alain Aubry (caban13) on August 28, 2017

Clever! Very simple! It solved my problem!

Awesome!

By gnarlyinc on April 26, 2017

It does what it says and was exactly what I was looking for, plus it's nice and simple! Great plugin!

Out Of Date

By I Declare MultiMedia (m4declare1) on October 29, 2016

Out Of Date! Are you going to update your plugin?

Does what it says!

By strettonbull on September 3, 2016

This is a simple plugin, but it does its stuff very well. It restricts any products from being ordered from which ever country you specify.

0.4.3

  • Some improvements for variable products

0.4.1

  • Minor bug fix for WooCommerce 3.0+

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.
Back to top