WordPress plugin intelligence profile

Country Based Restrictions for WooCommerce

Restrict WooCommerce products by country using geolocation. Hide them, block the purchase or show your own message — per product or variation.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version3.8.2
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 5.3 · PHP 7.0
Directory statusactive
Last directory update22 Oct 202610d ago
Active installations5K+Adoption metric — not a quality score
WordPress.org rating4.5 / 5 from 52 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Country Based Restrictions for WooCommerce version 3.8.2 as active, updated 10d ago and tested up to WordPress 7.1.

Overview

About this plugin

5% accuracy.

Whether you’re selling region-specific products, dealing with legal compliance restrictions, or managing international distribution agreements, CBR gives you precise control over your catalog by country — without any coding.

HPOS Compatible · 5,000+ Active Stores · Free & Open Source

What You Can Do

  • Restrict products per country — For any product, choose a list of countries to include (sell only to) or exclude (block from). Set it per product in seconds.
  • Three visibility modes — Choose how restricted products behave for blocked customers:
  • Hide completely from shop, search, and category pages
  • Hide from shop and search but allow direct URL access
  • Keep visible but non-purchasable (show with a custom message instead of Add to Cart)
  • Include or exclude rules — For each product, choose whether the country list means “sell only to these countries” or “do not sell to these countries”.
  • Works with WooCommerce Geolocation — Uses the shipping country the customer enters, falling back to WooCommerce Geolocation (MaxMind GeoIP2) when no shipping country is set yet.
  • Supports product variations — Apply country restrictions to individual variations within a variable product, not just the whole product.
  • HPOS Compatible — Fully compatible with WooCommerce High-Performance Order Storage (custom order tables).
  • Translation ready — Fully translatable via standard WordPress/WooCommerce translation tools.

How It Works

  • Install and activate the plugin.
  • Go to WooCommerce > Country Restrictions to configure the default visibility settings.
  • Open any product and set the country restriction rule — choose include or exclude, and select the countries.
  • Customers visiting from a restricted country will see the product according to your chosen visibility mode.

Free vs PRO — What’s the Difference?

CBR Free gives you per-product country restrictions. CBR PRO adds bulk tools, payment gateway control, and advanced display options for stores managing restrictions at scale.

CBR Free includes:

  • Per-product country restriction rules (include or exclude)
  • Three visibility modes: hide completely, hide from shop/search, or show but block purchase
  • Variation-level restrictions
  • WooCommerce Geolocation detection (MaxMind GeoIP2)
  • HPOS compatible

CBR PRO adds:

  • Bulk restrictions by category, tag, attribute, or shipping class — Apply rules to entire product groups at once instead of editing each product individually.
  • Global restriction rules — Apply one rule across all products sitewide.
  • Bulk CSV import — Import country rules for hundreds of products at once.
  • Disable payment gateways by country — Hide or disable specific payment methods (PayPal, Stripe, etc.) for customers from restricted countries.
  • Hide product prices by country — Show the product but hide the price for restricted countries.
  • Country detection widget — Let customers manually change their detected country from the storefront.
  • Custom restriction messages — Set a custom message per product shown to restricted customers instead of the Add to Cart button.
  • Redirect restricted customers — Redirect blocked visitors to a custom page instead of showing an error.
  • Remove bulk rules — Clear single-product rules in bulk via the product list bulk actions.
  • Priority support — Faster, dedicated assistance from the Zorem team.

👉 Get CBR PRO

Who Uses Country Based Restrictions

Any WooCommerce store that cannot, or does not want to, sell everything everywhere:

  • Brands with territory or distribution agreements — a licence that covers some markets and not others, enforced on the storefront rather than in a spreadsheet.
  • Alcohol, tobacco and vape retailers — products that are legal in one market and not in the next.
  • Supplement and wellness stores — ingredient rules differ by country, so one SKU may be sellable in a handful of markets only.
  • Age- or licence-restricted goods — items that may only be offered where the customer can lawfully receive them.
  • Digital and licensed media — regional rights that decide who may buy a title.
  • Food, fresh and perishable goods — restricted to the markets you can actually reach in time.
  • Heavy, bulky or hazardous items — products your freight carrier will not move across certain borders.
  • Dropshippers — suppliers who ship only to specific regions, so the catalogue should match what can be fulfilled.
  • Wholesale and B2B stores — different catalogues for different regional buyers.
  • Stores entering a new market — open a product range to one country first and expand once it works.

Please note: Country Based Restrictions is a merchandising and storefront control tool. It helps you decide what each visitor can see and buy based on their detected country. It is not a legal or sanctions compliance product, and it should not be relied on as one — country detection can be wrong, and determined visitors can work around any geolocation.

Where the law decides who you may sell to, treat this plugin as one layer alongside proper compliance checks, not a replacement for them.

Compatible With

CBR is tested and compatible with:

  • Multilingual plugins — WPML, Polylang, Weglot
  • Page builders — Elementor, Divi, WPBakery (Visual Composer)
  • Wholesale plugins — Wholesale for WooCommerce
  • Search plugins — Advanced Search for WooCommerce
  • Subscriptions — WooCommerce Subscriptions (variation restriction supported)
  • Multi-currency — Works alongside currency switcher plugins

⚠️ Important note for caching: Caching plugins (WP Rocket, W3 Total Cache, SiteGround Optimizer) and CDNs can serve cached pages that bypass geolocation detection. Ensure your caching is configured to exclude geolocation cookies and country detection from the cache. See the documentation for setup guidance.

Documentation & Support

  • 📖 Full documentation
  • 💬 WordPress.org support forum

More Plugins by Zorem

  • Advanced Shipment Tracking for WooCommerce — The #1 WooCommerce shipment tracking plugin. Trusted by 70,000+ stores.
  • SMS for WooCommerce — Automated SMS order and shipping notifications via Twilio, WhatsApp, and 18 other providers.
  • Customer Email Verification PRO — Block fake accounts and spam orders with OTP-based email verification.
  • Advanced Local Pickup PRO — Advanced local pickup with multiple locations, appointment scheduling, and ready-for-pickup notifications.
  • Zorem Returns — Self-service returns, exchanges, and store credit management for WooCommerce.

com

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • block countries
  • country restrictions
  • geo restriction
  • product restriction
  • geolocation
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 5.3 · PHP 7.0
Update activity22 Oct 202610d ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

Version3.8.13.8.2
WordPress compatibility7.1.27.1.3
WordPress compatibility7.17.1.2
Version3.8.03.8.1
WordPress compatibility7.0.47.1
Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.