Country Based Restrictions for WooCommerce

Country Based Restrictions for WooCommerce

4.5/5 (52 ratings) 5K+ active installs Updated Jun 23, 2026
Screenshot 1

Country Based Restrictions for WooCommerce lets you control which products customers can see and buy based on their country. Using WooCommerce Geolocation (or the customer’s shipping country), you choose for each product whether to allow or block specific countries — ideal for region-locked products, licensing limits, and compliance requirements.

What you can do (Free)

  • Restrict any product to or from specific countries with a per-product include or exclude rule
  • Hide restricted products completely from the shop, search, and catalog
  • Hide restricted products from the shop and search but still allow access via a direct link
  • Keep restricted products visible in the shop and search but block them from being purchased
  • Automatically detect the customer’s country via WooCommerce Geolocation, with the shipping country used as a fallback
  • Translation ready

How it works

  1. Go to the plugin settings and set your default product visibility option.
  2. Edit any product, choose an include or exclude rule, and select the countries it applies to.
  3. On the storefront, the plugin reads the customer’s shipping country (or WooCommerce Geolocation when no shipping country is set) and applies your rule automatically.

You will need WooCommerce 3.0 or newer.

Upgrade to PRO

Country Based Restrictions PRO adds catalog-wide control plus payment and pricing restrictions:

  • Bulk restrict products by Category, Tag, Attribute, Shipping Class, or Global (all products)
  • Bulk restrict products via CSV import
  • Disable payment gateways for restricted countries
  • Hide product prices for restricted products
  • Country detection widget so customers can view and change their detected location
  • Restrict specific product variations
  • Remove single-product rules with a bulk action

Get Country Based Restrictions PRO »  |  Documentation