
內容簡介
Country Based Restrictions for WooCommerce 讓您根據客戶所在國家精確控制可見及可購買的產品。此外掛利用 WooCommerce 內建的地理定位引擎,提供高達 99.5% 的準確度,適合銷售區域特定產品或遵循法律合規要求。
【主要功能】
• 根據國家限制產品可見性
• 三種可見性模式選擇
• 支援產品變體的國家限制
• 包含或排除國家規則設定
• 與 WooCommerce 地理定位相容
• 完全支援翻譯功能
外掛標籤
開發者團隊
② 後台搜尋「Country Based Restrictions for WooCommerce」→ 直接安裝(推薦)
📦 歷史版本下載
原文外掛簡介
Country Based Restrictions for WooCommerce lets you control exactly which products are visible and purchasable based on your customer’s country — using WooCommerce’s built-in geolocation engine (MaxMind GeoIP2) for 99.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 catalog rules, payment gateway control, checkout enforcement, an admin debug mode for testing rules, and restriction analytics showing which countries are hitting your rules.
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.
Checkout restriction — Block restricted products from being ordered at checkout, not just hidden from the catalog.
Restriction analytics — See which countries and which products hit your rules most often, ranked by volume, with restriction trends over time.
Demand signal tracking — Blocked attempts by country tell you where there is unmet demand for products you do not yet sell there.
Admin debug mode — Preview your store as a visitor from any country and test your rules before they go live.
Block checkout support — Works with the WooCommerce Cart and Checkout blocks.
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:
Alcohol, wine, beer and spirits retailers — sell only into the markets you are licensed for.
Tobacco and vape stores — country rules differ sharply and change often.
CBD, supplement and wellness stores — product legality varies country by country.
Pharmacy and medical supply stores — restrict products that cannot be shipped across certain borders.
Brands with distribution agreements — honour territory exclusivity with a distributor or licensee.
Licensed and franchised products — sell merchandise only in the regions your licence covers.
Digital goods with regional licensing — software, media and courses sold per territory.
Knives, tools and age-restricted goods — keep restricted items out of countries that prohibit them.
Dropshippers — hide products your supplier will not ship to a given country.
Wholesale and B2B stores — show a different catalog per region.
Stores cutting fraud and returns — stop taking orders from countries that cost you more than they earn.
CBR is a merchandising and storefront control tool. It restricts what a visitor from a detected country can see and buy — it is not a legal or sanctions compliance product, so take your own advice on what you are required to block.
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 80,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.
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.
Explore the full catalog at zorem.com
