WooCommerce
Country Restriction
Plugin

Hide products, variations and payment gateways by customer country, with automatic geo-detection and bulk catalog rules.

Select License:
Billing Period:
14-Day Guarantee HPOS Compatible Geolocation Ready Priority Support

Version 4.4.1 Last updated: Aug 2026 Compatible with WooCommerce 11.0.1 WordPress 7.1

Made by the team behind 80,000+ store installations
yourstore.com/wp-admin/cbr-settings

Country Restrictions

Geolocation enabled

US

United States - Premium T-Shirt

Rule: Available for selected countries

Allowed
CA

Canada - Winter Jacket

Rule: Excluded from selected countries

Restricted
DE

Germany - Electronics Bundle

Rule: Available for selected countries

Allowed

Geolocation Detection

200+ Countries supported

Configure

Restricted Countries

12 Active Rules

Video Overview

See Country Based Restrictions PRO in Action

Geolocation detection, per-product rules, bulk catalog control, and payment restrictions — running inside your WooCommerce store.

Are you still losing money to wrong-country orders?

Stores usually discover they sold into a restricted country after the chargeback arrives. By then the order has shipped, the fee is charged, and the dispute is on your record.

Without Country Restrictions

  • Manual Country Blocking

    Trying to enforce country rules with conditional checkout scripts that break.

  • Hidden Compliance Risk

    Selling into OFAC-restricted countries or crossing EU VAT thresholds — without knowing it.

  • Refund & Chargeback Flood

    Orders from regions you don't ship to drain time, money, and payment processor trust.

With Country Based Restriction Pro

  • Automatic Country Detection

    Geolocation runs at page load. No checkout scripts required.

  • Compliance Confidence

    Block sales to restricted countries and keep your catalog aligned with OFAC and regional trade rules.

  • Zero Wasted Orders

    Restricted customers never see restricted products. No checkouts, no refunds, no disputes.

Built for Stores with Region-Specific Products

Whatever you sell, Country Based Restriction Pro makes sure customers only see what's available where they are.

CBD & Cannabis

Comply with state and country-level restrictions

Alcohol & Spirits

Block sales to dry states and restricted countries

Tobacco & Vape

Block sales in countries and states that prohibit vape products

Supplements & Pharma

Sell only where approvals exist — FDA, EMA, and beyond

Adult Content

Hide adult products from countries where they're restricted

Firearms & Ammunition

Block regions where sale or import is prohibited

Digital Media

Honour licensing territories for music, courses and e-books

B2B Wholesalers

Honor regional distributor agreements

Cosmetics & Skincare

Hide products with ingredients banned in EU or US markets

Prescription & Restricted Medicine

Block country-restricted Rx and OTC sales

Agricultural & Plant Products

Comply with import bans on seeds, plants, food

Gambling & Gaming

Block sales of gambling-adjacent products

How Country Restrictions Work in WooCommerce

Three steps, from page load to checkout.

1

Detect Country

Country Based Restriction Pro uses WooCommerce's built-in geolocation (MaxMind GeoLite2) to identify the customer's country at page load. Works with CDNs including Cloudflare.

2

Apply Rules

Set restrictions per product, category, tag, or shipping class. Choose to hide products entirely, hide prices, or display as unavailable.

3

Block Restricted Orders

Customers in restricted countries can't see, purchase, or checkout with restricted products. Optional payment gateway restrictions per country.

Powered by MaxMind Geolocation

Country Based Restriction Pro uses WooCommerce's built-in MaxMind GeoLite2 integration — the same geolocation data used across the payments and CDN industry.

  • Country-level detection on every page load
  • Database refreshed automatically every 15 days
  • Works with all major CDNs (Cloudflare, AWS CloudFront, Fastly)
  • Privacy-respecting — the lookup runs on your server, no third-party data sharing
  • 200+ countries supported

99.5%

Country Level Accuracy

200+ Countries Supported
Country Restriction Suite • Built for WooCommerce

See WooCommerce Country Restrictions In Action

Geolocation detection, per-product rules, bulk catalog control, payment restrictions, and analytics — decide exactly who can see and buy what, by country, inside your own WooCommerce store.

No External Service • Runs Inside WooCommerce

Detection and restriction rules run on your own store using WooCommerce Geolocation — no third-party API.

WooCommerce Geolocation
Rule Engine Module: Restriction-Core

Decide who can see and buy each product, by country

Allow-list or block-list any country, then choose exactly what a restricted visitor sees.

Set an allow list (only these countries can buy) or a block list (everyone except these) per product, category, or store-wide. For anyone outside the rule, choose what happens: hide the product entirely, show it as unavailable, or let them browse but block it at checkout.

Allow-list or block-list countries per product or store-wide.
Three restriction actions: hide, show as unavailable, or block at checkout.
Optionally hide the price for restricted regions instead of the whole product.
Per-product overrides always win over category and global rules.
Runs on your own store using WooCommerce Geolocation — no external API.

Restriction Actions

Action Visible? Purchasable?
Hide Product No No
Show Unavailable Yes No
Block at Checkout Yes No
Decide who can see and buy each product, by country

Every Restriction Feature at a Glance

Built for stores that need precise control over who can buy what, where.

Country Detection

Identify each visitor's country on page load using WooCommerce Geolocation, with a shipping-country fallback for logged-in customers.

Country Switcher Widget

Let shoppers change their detected region themselves when the automatic result is wrong.

Admin Debug Mode

Preview any country as an admin and test your rules without affecting live shoppers.

Product Restrictions

Toolbar visible only to admins shows the detected country. Test rules without affecting real customers.

Catalog Visibility

Optional widget letting customers change their detected country.

Bulk Catalog Rules

Apply restrictions by category, tag, attribute, or shipping class. Bulk-edit hundreds of products.

Payment & Checkout Control

Show or hide payment gateways by billing or shipping country, and block restricted products from being ordered.

Smart Redirect Rules

Send restricted customers to a landing page, an alternative product, or your local distributor instead of a dead end.

Restriction Analytics

See which countries and products hit your rules most often, and spot demand worth opening up.

Built for Real-World Compliance

Enforce the trade rules your business already operates under, at the catalog and at checkout.

OFAC & Sanctions

Block sales to comprehensively sanctioned countries — Cuba, Iran, North Korea, Syria and the sanctioned regions of Ukraine — as one layer of your sanctions controls.

EU VAT Thresholds

Block EU sales to stay under the €10,000 cross-border threshold, or restrict individual countries once you've registered for OSS.

UK VAT & Brexit

Block UK orders under £135 if you'd rather not register for UK VAT, and treat Northern Ireland separately under the Windsor Framework.

US Sales Tax Nexus

Restrict products by US state so you don't create nexus in jurisdictions you have no intention of shipping to.

Age-Restricted Goods

Combine country rules with your age verification to enforce both conditions on alcohol, tobacco and CBD.

Distributor & Licensing Territories

Honour exclusive distributor agreements and regional licensing by hiding products outside their permitted territory.

Why Stores Choose Country Based Restriction Pro

Four things that separate this from every other country restriction plugin.

Runs Inside WooCommerce

Detection and rules execute on your own store. No external API, no per-lookup fee, no customer data leaving your site.

Restrictions Become Demand Data

Every blocked attempt is recorded, so the countries you're turning away become a list of markets worth opening.

Three Levels of Enforcement

Catalog, cart and checkout — a restricted product is stopped even if it slips past the first rule.

Down to the Variation

Restrict a single variation rather than the whole product, for stores selling the same item in different strengths, sizes or formats.

Built for Large Catalogs

Customers see only what they can actually buy.

Test Before You Go Live

Preview your store as a visitor from any country using the admin debug toolbar, without affecting a single real shopper.

Reviews

What store owners are saying about Country Based Restriction for WooCommerce.

Showing 1 of 1 reviews
Sort by:
2026-08-11

“Excellent Plugin”

The best plugin I have ever used, which gives full control over restricted countries worldwide. I would recommend this plugin to anyone with a WooCommerce store.

MA
Manny Aizon

Country Based Restriction Pro vs. Free

Free covers single-country basics. Pro is for stores with catalogs, gateways and rules to manage.

Country Based Restriction Pro vs. Free — feature comparison table
FeaturesFreePro
GeoLocation Detection Included Included
Catalog Visibility Control Included Included
Product Restrictions Included Included
Debug Mode Included Included
Country Detection Widget Not included Included
Bulk Catalog Restriction Rules Not included Included
Payment Gateway by Country Not included Included
Bulk Import Restrictions (CSV) Not included Included
Restrict Product Variations Not included Included
Premium Support Not included Included

Upgrade your store's restriction capabilities.

CURRENT Upgrade Now

Looking for the free version?

Get started with Country Based Restrictions for WooCommerce free on WordPress.org — geolocation detection and basic product restrictions included.

Download Free Plugin

Frequently Asked Questions

Zorem Ecosystem

Explore Other Zorem Plugins

Zorem builds a connected set of WooCommerce plugins: fulfillment and post-purchase tools for everything after the order, and store management tools for running the shop behind it. Trusted by over 80,000 store owners.

Customer Email Verification for WooCommerce

The Customer Email Verification helps WooCommerce store owners to reduce registration and spam orders by requiring customers to verify their email address when they register an account or before they can place an order on your store.

From $119/yr Learn More

Customer Info for WooCommerce

The Customer Info plugin provides a centralized dashboard for store admins to quickly access customer details, order history, and address information. This plugin improves customer support and account management by integrating with WooCommerce Subscriptions, HelpScout, and Intercom.

View as Customer for WooCommerce

The plugin does not have any settings, once installed a VIew As Customer menu will appear on the WordPress admin bar in the frontend of the store and will allow to switch to view the store as any customer. To switch back to the admin account, admins will need to log out from the customer account.

From $39/yr Learn More

Sales By Country for WooCommerce

This plugin simply adds a report tab in WooCommerce Analytics to display sales by country reports. The plugin adds an additional report tab which display sales report by the shipping or billing country. The plugin does not have settings, you’ll find this report available in WooCommerce Analytics > Sales by Country.

From $59/yr Learn More

Country Based Restriction for WooCommerce

From $119