Country Based
Restriction
for WooCommerce.
The #1 WooCommerce plugin to restrict products and payment gateways based on customer country using Geolocation detection.
Version 4.3.7 • Last updated: April 2026 • Compatible with WooCommerce 10.7.0 • WordPress 6.9.4
Country Restrictions
Geolocation enabled
United States - Premium T-Shirt
Rule: Available for selected countries
Canada - Winter Jacket
Rule: Excluded from selected countries
Germany - Electronics Bundle
Rule: Available for selected countries
Geolocation Detection
200+ Countries supported
Restricted Countries
12 Active Rules
Are you still losing money to wrong-country orders?
Most WooCommerce stores discover they sold to restricted countries only AFTER the chargeback hits. It's time to stop the loss.
Without CBR
- Manual Country Blocking
Trying to enforce country rules with conditional checkout scripts that break.
- Hidden Compliance Risk
Selling to OFAC-restricted countries or violating EU VAT thresholds u2014 without knowing it.
- Refund & Chargeback Flood
Orders from regions you don't ship to drain time, money, and payment processor trust.
With CBR PRO
- Automatic Country Detection
Geolocation runs at page load. No checkout scripts required.
- Compliance Confidence
Restrict products by country, comply with GDPR, OFAC, and regional regulations.
- 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, CBR PRO ensures 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
Restrict by age-gated regions
Supplements & Pharma
Country-specific approvals (FDA, EMA)
Adult Content
Geo-block age-restricted material
Firearms & Ammunition
Strict regional compliance
Digital Media
Regional licensing for music, courses, e-books
B2B Wholesalers
Honor regional distributor agreements
Global Stores
Tailor catalogs to regional market norms
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 It Works
Three simple steps to bulletproof country restrictions.
Detect Country
CBR uses WooCommerce's built-in geolocation (MaxMind GeoIP2 database) to identify the customer's country at page load. Works with CDNs including Cloudflare.
Apply Rules
Set restrictions per product, category, tag, or shipping class. Choose to hide products entirely, hide prices, or display as unavailable.
Block Restricted Orders
Customers in restricted countries can't see, purchase, or checkout with restricted products. Optional payment gateway restrictions per country.
Powered by the World's Most Trusted Geolocation
CBR PRO uses WooCommerce's built-in MaxMind GeoIP2 geolocation database, the same engine trusted by Stripe, Mastercard, and Akamai for region detection.
- 99.5% country-level accuracy
- Updated monthly with new IP allocations
- Works with all major CDNs (Cloudflare, AWS CloudFront, Fastly)
- Privacy-respecting — no third-party data sharing
- GDPR-compliant geolocation
99.5%
Country Level Accuracy
Everything You Need for Country-Based Control
Built for stores that need precise control over who can buy what, where.
GeoLocation Detection
Use WooCommerce Geolocation to detect customer country, or use shipping country for logged-in customers.
Catalog Visibility
Hide products completely or show as unavailable. Hide prices for restricted regions.
Product Restrictions
Include or exclude specific countries per product. Choose hide or show-as-unavailable.
Debug Mode
Toolbar visible only to admins shows the detected country. Test rules without affecting real customers.
Country Detection Widget
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 Gateway by Country
Show/hide specific payment methods based on billing or shipping country.
Smart Redirect Rules
Send restricted customers to a custom landing page, alternate product, or local distributor's site.
HPOS & Block Checkout Compatible
Fully compatible with WooCommerce High-Performance Order Storage and the new Cart/Checkout blocks.
Built for Real-World Compliance
CBR PRO helps you stay on the right side of regulations that matter.
EU VAT Compliance
Hide products from countries below VAT thresholds. Comply with €10K cross-border thresholds.
OFAC Sanctions
Block sales to countries on the US OFAC sanctions list (Iran, North Korea, Syria, Cuba, etc.).
GDPR Privacy
Geolocation runs at country level only — no personal data captured. GDPR-compliant by design.
Age-Gated Goods
Combine with age verification to enforce strict country + age rules for alcohol, tobacco, CBD.
UK VAT & Brexit Rules
Comply with UK post-Brexit VAT obligations. Restrict sales below £135 thresholds or to Northern Ireland regions.
Sales Tax Nexus (US States)
Restrict products by US state to avoid triggering sales tax nexus in jurisdictions you don't ship to.
Why Stores Choose CBR PRO
Built for compliance, built for performance.
Geolocation Control
Accurately determine customer location to apply rules.
Country-Specific Restrictions
Tailor product availability per region.
Variation-Level Control
Restrict specific variations, not just whole products.
Smart Redirect Options
Send restricted visitors to a custom landing page.
Improved Shopping Experience
Customers see only what they can actually buy.
Easy Configuration
Intuitive UI, no code required.
Payment Flexibility
Show/hide payment gateways per country.
Marketing & Sales
Combine country rules with categories, tags, and attributes for targeted campaigns.
HPOS & Block Checkout Compatible
Built for modern WooCommerce installations.
CBR PRO vs. Free
Unlock the full potential of country-based restrictions with the Pro version.
| Features | Free | Pro |
|---|---|---|
| GeoLocation Detection | ||
| Catalog Visibility Control | ||
| Product Restrictions | ||
| Debug Mode | ||
| Country Detection Widget | ||
| Bulk Catalog Restriction Rules | ||
| Payment Gateway by Country | ||
| Bulk Import Restrictions (CSV) | ||
| Restrict Product Variations | ||
| Premium Support | ||
Upgrade your store's restriction capabilities. |
CURRENT | Upgrade Now |