plugin-icon

Country Based Restrictions for WooCommerce

لصاحبه Zorem·
Restrict WooCommerce products by country — hide or block purchases using geolocation so only customers in allowed countries can buy.
تقييمات
4.5
النسخة
3.7.7
التنصيبات النشطة
5K
آخر تحديث
Feb 10, 2026
Country Based Restrictions for WooCommerce

Country Based Restrictions for WooCommerce (CBR) lets you control which products customers can see and purchase based on their country. Whether you need to comply with regional regulations, limit shipping to certain destinations, or create country-specific catalogs, CBR gives you per-product control using WooCommerce’s built-in geolocation.

If a product shouldn’t be sold in a particular country — because of shipping limitations, legal requirements, licensing, or business strategy — CBR makes sure customers in that country either can’t see it or can’t buy it. No code required.

Key Features

  • Hide Restricted Products Completely — Remove products from your shop, search results, and catalog for customers in restricted countries. Products become invisible as if they don’t exist.
  • Hide from Catalog, Keep Direct Links — Remove products from shop pages and search, but still allow access via a direct URL. Useful for wholesale or private distribution.
  • Visible but Not Purchasable — Keep products visible in your shop and search results, but disable the Add to Cart button for restricted countries. Customers can browse but not buy.
  • Per-Product Include or Exclude Rules — For each product, choose whether to allow it in specific countries (include) or block it in specific countries (exclude). Flexible enough for any restriction scenario.
  • Automatic Country Detection — Uses WooCommerce Geolocation (IP-based) and the customer’s shipping address to determine their country — no manual input needed from the shopper.
  • Translation Ready — Fully translatable and compatible with multilingual stores.

Common Use Cases

  • Legal & Regulatory Compliance — Block products that can’t legally be sold in certain countries (alcohol, supplements, electronics, age-restricted items).
  • Shipping Limitations — Don’t sell products in countries your logistics provider can’t deliver to. Avoid failed deliveries and refund requests.
  • Regional Licensing — Restrict digital or licensed products to territories covered by your distribution agreement.
  • Country-Specific Catalogs — Show different product selections to different markets, creating a tailored shopping experience per region.
  • Reduce Chargebacks & Wrong Orders — Prevent customers from ordering products that can’t be fulfilled in their location.

How Country Detection Works

CBR determines the customer’s country in this order:

  1. If the visitor is a logged-in customer with a shipping address on file, CBR uses that shipping country.
  2. If no shipping country is set (or the visitor is a guest), CBR falls back to WooCommerce Geolocation (IP-based detection).
  3. You can optionally force the plugin to always use geolocation only.

Upgrade to Country Based Restrictions PRO

Need to manage restrictions at scale? CBR PRO adds powerful bulk tools and advanced controls:

  • Bulk Restrictions by Category, Tag, Attribute, or Shipping Class — Apply country rules to entire groups of products at once instead of editing each product individually.
  • Global (All Products) Restrictions — Set a single rule that applies to your entire catalog.
  • Disable Payment Methods by Country — Control which payment gateways are available based on the customer’s country.
  • Hide Product Prices for Restricted Products — Instead of hiding the product entirely, hide only the price and Add to Cart button.
  • Remove Single Product Rules in Bulk — Clean up individual product rules using bulk actions.
  • Debug Mode — Display a front-end toolbar (visible to admins only) showing the detected country, so you can test restrictions without affecting customers.
  • Country Detection Widget — Display the detected shipping country to shoppers and let them change their location while browsing.

Get Country Based Restrictions PRO

Documentation & Support

Setup guides, configuration tutorials, and developer resources are available in the CBR documentation.

Need help? Visit the support forum.

More Plugins by Zorem

Explore all plugins at zorem.com.

مجانيعلى خطة Business
إذا أتممت بالتثبيت، فإنك توافق على شروط خدمة ووردبريس.كوم ووشروط إضافات الأطراف الثالثة.
تم اختباره حتى
WordPress 6.9.1
تتوفّر هذه الإضافة للتنزيل لتُستخدم في عملية التثبيت لديك.