Icono del producto

Country Based Restrictions Pro para WooCommerce

Show the right products to the right customers based on where they are. Restrict WooCommerce products, variations, and payment gateways by country using automatic geolocation. Set store-wide rules by category, tag, attribute, or shipping class — no code required.
Elige una opción de facturación
$129
Ahorra un 20 %
$258 $206.40

La suscripción incluye

  • Actualizaciones y mejoras del producto
  • Atención al cliente
  • Garantía de devolución de 30 días

Stop selling to the wrong customers in the wrong countries

Most WooCommerce stores discover they’ve sold to restricted countries only after the chargeback lands. By then it’s too late to stop the loss — the order shipped, the refund is due, and the compliance risk is on the books.

Country Based Restrictions Pro fixes this at the source. It detects each customer’s country automatically and applies your rules before checkout, so restricted customers never see restricted products in the first place.

What the plugin does

  • Restricts products, categories, and variations by country
  • Restricts payment gateways by billing or shipping country
  • Applies rules automatically using WooCommerce’s built-in geolocation
  • Redirects restricted customers to a custom URL, alternate product, or regional distributor
  • Works with High-Performance Order Storage and the block-based Cart and Checkout

Built for stores with region-specific catalogs

Whatever you sell, Country Based Restrictions Pro shows customers only what’s available where they are.

  • CBD and cannabis: comply with state and country-level restrictions
  • Alcohol and spirits: block sales to dry and restricted countries
  • Tobacco and vape: restrict by age-gated regions
  • Supplements and pharmaceuticals: country-specific approvals such as FDA and EMA
  • Firearms and ammunition: enforce regional compliance
  • Adult content: geo-restrict age-sensitive material
  • Digital media: enforce regional licensing for music, courses, and ebooks
  • B2B wholesalers: honor regional distributor agreements
  • Prescription and restricted medicine: block country restricted Rx and OTC sales
  • Agricultural and plant products: comply with import laws on seeds, plants, and food
  • Gambling and gaming: block sales in gambling-adjacent jurisdictions
  • Global stores: tailor catalogs to regional market norms

How it works

Three steps to bulletproof country-based restrictions.

Step 1 — Detect the country

The plugin uses WooCommerce’s built-in geolocation, powered by the MaxMind GeoIP2 database, to identify the visitor’s country at page load. For logged-in customers, it can use their saved shipping country instead. Works behind CDNs including Cloudflare.

Step 2 — Apply your rules

Set restrictions per product, per variation, or in bulk by category, tag, attribute, or shipping class. Choose whether restricted items are hidden completely, shown as unavailable, or blocked only at checkout.

Step 3 — Block restricted orders

Customers in restricted countries can’t view, add to cart, or check out with the restricted products. Payment gateway restrictions can be applied per country as an added compliance layer.

Powered by the world’s most trusted geolocation

Country Based Restrictions Pro uses WooCommerce’s built-in MaxMind GeoIP2 geolocation, the same engine trusted by Stripe, Mastercard, and Akamai for region detection.

  • 99.5% country-level accuracy
  • IP allocations updated monthly by MaxMind
  • Compatible with major CDNs including Cloudflare, AWS CloudFront, and Fastly
  • Privacy-respecting, with no third-party data sharing
  • GDPR-compliant geolocation

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, and hide prices for restricted regions
  • Product restrictions: include or exclude specific countries per product, and choose to hide or show as unavailable
  • Debug mode: an admin-only toolbar shows the detected country so you can test rules without affecting real customers
  • Country detection widget: an optional widget lets customers change their detected country
  • Bulk catalog rules: apply restrictions by category, tag, attribute, or shipping class, with support for hundreds of products
  • Payment gateway by country: show or 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 and block checkout compatible: fully compatible with WooCommerce High-Performance Order Storage and the new Cart/Checkout blocks

Built for real-world compliance

Country Based Restrictions Pro helps you stay on the right side of regulations that matter.

  • EU VAT compliance: hide products from customers below VAT thresholds, and comply with €10K cross-border thresholds
  • OFAC sanctions: block sales to countries on the US OFAC sanctions list, including Iran, North Korea, Syria, and Cuba
  • GDPR privacy: geolocation runs at country level only, with no personal data captured
  • Age-gated goods: combine with age verification to enforce a strict country plus age rules combination for alcohol, tobacco, and CBD
  • UK VAT and Brexit rules: comply with UK post-Brexit VAT obligations, and restrict sales below £135 thresholds or to Northern Ireland regions
  • Sales tax nexus for US states: restrict products by US state to avoid triggering sales tax nexus in jurisdictions you don’t ship to

Why stores choose Country Based Restrictions Pro

Built for compliance and for performance.

  • Geolocation control: accurately determine customer location to apply rules
  • Country-specific restrictions: tailor product availability by 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: no code required
  • Payment flexibility: show or hide payment gateways per country
  • Marketing and sales: combine country rules with categories, tags, and attributes for targeted campaigns
  • Compatibility: built for modern WooCommerce installations, including HPOS and the block-based Cart and Checkout

Preguntas frecuentes

How does Country Based Restrictions Pro detect a customer's country?

The plugin uses WooCommerce's built-in geolocation, which relies on the MaxMind GeoIP2 database. For logged-in customers, you can optionally use their saved shipping country instead. The setup requires no third-party API keys — just enable geolocation in your WooCommerce settings.

Can I restrict specific product variations, not just entire products?

Yes. You can restrict individual variations by country, which is useful for products that ship in different voltages, formulations, or region-specific editions. For example, you can sell your 110V variation in North America and your 220V variation in Europe from the same product page.

Can I apply rules to many products at once?

Yes. Bulk catalog rules let you restrict products by category, tag, attribute, or shipping class. You can also import restriction rules in bulk via CSV. This scales to stores with thousands of products.

Does the plugin restrict payment gateways too?

Yes. You can show or hide specific payment methods such as Stripe, PayPal, and regional processors based on the customer's billing or shipping country. Both address types are supported for compliance and fraud-prevention scenarios.

What happens when a restricted customer visits a restricted product?

You decide. Options include hiding the product completely, showing it but marking it unavailable, hiding the price and buy button, or redirecting the customer to a custom URL such as your regional distributor's site.

Is the plugin compatible with HPOS and the Cart and Checkout blocks?

Yes. Country Based Restrictions Pro is fully compatible with High-Performance Order Storage and the block-based Cart and Checkout, as well as the traditional shortcode checkout.

Does the plugin work behind Cloudflare and other CDNs?

Yes. WooCommerce's geolocation reads the visitor's IP correctly behind Cloudflare, AWS CloudFront, Fastly, and most major CDNs. If your store already uses these, no extra configuration is needed.

How do I test my rules without changing my real IP address?

Enable Debug Mode. A toolbar visible only to admins shows the detected country and which rules are being applied. You can also override the detected country temporarily to preview any restriction scenario.

Can customers override the detected country?

Optionally, yes. A country-switcher widget can be enabled so customers can correct their location if geolocation is inaccurate — useful for travelers or customers behind VPNs.

Will the plugin slow down my store?

No. Country detection uses WooCommerce's built-in geolocation, which runs at the server level and is cached per session. Rules are evaluated once per page load and add negligible overhead, even on stores with thousands of products and complex catalog rules.

Opiniones de clientes

Estamos aceptando reseñas para este producto, y las mostraremos cuando tengamos unas cuantas más.
Usar sus datos personales
Tanto nosotros como nuestros socios procesamos tus datos personales (como los datos de navegación, las direcciones IP, la información sobre las cookies y otros identificadores únicos) en función de tu consentimiento o en nuestro interés legítimo para optimizar nuestra web, las actividades de marketing y tu experiencia como usuario.