This is an info Alert.
x402 Logo
  • Product
    • Become Agent-Ready
      • Merchants
        Agentic Commerce — list your store across ChatGPT, Gemini, Claude & Perplexity
      • Publishers
        Monetize your content when AI agents read, cite, or train on it
      • SaaS Companies
        Treat AI agents as first-class customers with agent-priced checkout
    • Monetize
      • Monetize MCP Server
        Charge per call on any MCP server in 2 minutes
      • Monetize AI Agents
        Turn n8n, Zapier, Activepieces workflows into revenue
      • Agent Feed
        Pay-per-query access to licensed publisher content for your agents
  • Resources
    • xpay Ecosystem
      • xpay✦ Tools
        1,000+ pay-per-use tools for your AI agents
      • Agent-Ready SaaS Index
        25,481 SaaS scored on agent-buyability
      • SaaS Pricing Database
        Pricing pages indexed across 1,000+ categories
      • Shopify Apps Directory
        Every Shopify app, with its full review history
      • WooCommerce Plugins Directory
        Every WooCommerce plugin, scored on how well it is maintained
      • GitHub
        Open source repositories
    • Agent Building
      • Agent Frameworks
        AI frameworks for building multi-agent systems
      • x402 Integration
        AI frameworks with x402 payment integration
      • Networks
        Blockchain networks supporting x402
    • Company
      • About xpay✦
        Our mission, products, and protocols
      • Blog
        Latest insights and updates
      • Docs
        Complete xpay documentation
  • Pricing
  • Blog
  • Docs
Get Started
  1. xpay✦ Commerce

  2. Directory

  3. WooCommerce plugins

  4. Country Based Restrictions for WooCommerce

Country Based Restrictions for WooCommerce

Restrict WooCommerce products by country using geolocation — hide products, block purchases, or show them as unavailable in specific countries.

5K+ active installs
4.5
(52 ratings)
Free on WordPress.org
View on WordPress.orgSupport forum
Will this break my store?

What the WordPress.org registry says about keeping Country Based Restrictions for WooCommerce running.

WordPress compatibility
Tested to 7.0.2
Tested against the WordPress branch in use today.
Last updated
1 month ago
At least 11.1 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.
Requires PHP
7.0
Your host must be running at least this version.
Requires WordPress
5.3
Requires other plugins
woocommerce
These must be installed and active first.
Contributors
3

5K+ active installsWordPress.org reports installs in bands, not exact counts.
Maintenance & trust

Scored on how Country Based Restrictions for WooCommerce is looked after — not on how many stores run it.

96

out of 100
Well maintainedSome ratings or support history.

Maintenance
35 / 35
Updated 39 days ago.
WordPress compatibility
20 / 20
Tested to WP 7.0.2 (current).
Support responsiveness
Not enough data
Only 2 support thread(s) — not enough to judge.
Merchant satisfaction
12 / 15
4.5/5 across 52 rating(s).
Listing transparency
10 / 10
Provides: screenshots, description, homepage
1 of 5 measures had too little evidence to score. They are left out of the total rather than counted as zero — otherwise a plugin would be marked down for being small rather than for being poorly kept.Measured 2026-08-01 from the WordPress.org plugin registry.
Ratings

4.5

52 ratings
5★45
4★0
3★1
2★1
1★5
Every rating WordPress.org holds for this plugin, not a sample. Written reviews live in the plugin's WordPress.org reviews forum.

Country Based Restrictions for WooCommerce lets you control which products customers can see and buy based on their country. Using WooCommerce Geolocation (or the customer’s shipping country), you choose for each product whether to allow or block specific countries — ideal for region-locked products, licensing limits, and compliance requirements.

What you can do (Free)

  • Restrict any product to or from specific countries with a per-product include or exclude rule
  • Hide restricted products completely from the shop, search, and catalog
  • Hide restricted products from the shop and search but still allow access via a direct link
  • Keep restricted products visible in the shop and search but block them from being purchased
  • Automatically detect the customer’s country via WooCommerce Geolocation, with the shipping country used as a fallback
  • Translation ready

How it works

  1. Go to the plugin settings and set your default product visibility option.
  2. Edit any product, choose an include or exclude rule, and select the countries it applies to.
  3. On the storefront, the plugin reads the customer’s shipping country (or WooCommerce Geolocation when no shipping country is set) and applies your rule automatically.

You will need WooCommerce 3.0 or newer.

Upgrade to PRO

Country Based Restrictions PRO adds catalog-wide control plus payment and pricing restrictions:

  • Bulk restrict products by Category, Tag, Attribute, Shipping Class, or Global (all products)
  • Bulk restrict products via CSV import
  • Disable payment gateways for restricted countries
  • Hide product prices for restricted products
  • Country detection widget so customers can view and change their detected location
  • Restrict specific product variations
  • Remove single-product rules with a bulk action

Get Country Based Restrictions PRO »  |  Documentation

Can I make a product available only in specific countries?

Yes. Set an include rule on the product and select the countries where it should be available.

Can I block a product from being sold in specific countries?

Yes. Set an exclude rule on the product and select the countries where it should be restricted.

How is the customer’s country detected?

The plugin uses the customer’s shipping country if one is set. If not, it falls back to WooCommerce Geolocation. Make sure WooCommerce > Settings > General > Default customer location is set to “Geolocate”.

Restricted products still show in the blocked country. What should I check?

This is almost always caching. Page caching and CDNs can serve a cached page before geolocation runs. Exclude geolocation-dependent pages from your cache, or configure your caching plugin/CDN to pass geolocation correctly.

Does it work with page caching?

Caching can interfere with geolocation. Configure your caching plugin or CDN to exclude pages that rely on geolocation, or use an AJAX-based detection setup.

What’s the difference between Free and PRO?

Free covers per-product country restrictions (hide completely, show as unavailable, or block purchase). PRO adds bulk catalog restrictions by category/tag/attribute/shipping class, CSV import, payment gateway restrictions, hide product price, a country detection widget, and more.

Is it translation ready?

Yes, the plugin supports translation.

Categories
Checkout fields & address
Plugin details
Version3.7.9
Last updated2026-06-23 11:58am GMT
Added2018-10-04
Requires WordPress5.3
Tested up to7.0.2
Requires PHP7.0

Tags on WordPress.org
country restrictions
geolocation
payment restrictions
restrict products
woocommerce
Alternatives
Other plugins in the same categories.
Checkout Field Editor (Checkout Manager) for WooCommerce
400K+ installs
4.9(1,056)
Calculadora de Frete e Campos Checkout para o Brasil
5K+ installs
4.9(45)
PPOM – Product Addons & Custom Fields for WooCommerce
20K+ installs
4.4(282)
Checkout Field Manager (Checkout Manager) for WooCommerce
80K+ installs
4.5(781)
Kikote – Location Picker at Checkout & Google Address AutoFill Plugin for WooCommerce
1K+ installs
5.0(65)
Admin Columns
100K+ installs
4.9(1,650)
x402 Logo

The agent-readiness stack for the AI shopping era — helping merchants, publishers and SaaS companies get discovered, cited and transacted with by ChatGPT, Perplexity, Claude, Gemini and the custom shopping agents underneath them.

CompanyAgentically Inc. (d/b/a xpay✦)1875 Mission St, Ste 103San Francisco, CA 94103, United Stateslegal@xpay.sh · privacy@xpay.sh
or ask your AI app
Company
About xpayAgency PartnersGitHubDiscordllms.txt
DevelopersDocumentationAPI ReferenceSDKs & LibrariesQuickstart GuideOpenAPI Spec
Stay Updated
Occasional product updates and agent-readiness playbooks from xpay (Agentically Inc.) — typically a couple of emails a month. Double opt-in: we email you a link to confirm before sending anything, and every email has one-click unsubscribe.
Social
  • For Publishers
    • News
    • Finance
    • Dev / Tech
    • Travel
    • View all verticals
  • Agent Feed
    • AI Search Engines
    • RAG Builders
    • Browser Agents
    • Vertical Research
    • Browse full catalog
  • Agent-Ready Index
    • SaaS Pricing Database
    • Agent-Ready SaaS Index
    • Verified band
    • AI & ML
    • Sales & CRM
  • Products
    • Pricing Widget
    • Monetize MCP Server
    • Paywall
    • Smart Proxy
    • Monetize AI Agents
    • xpay x402 Facilitator
  • Agentic Economy
    • Timeline
    • Resources
    • Manifesto
    • Stack
  • Agentic Commerce
    • Get listed
    • ChatGPT Ads
    • How ChatGPT Ads work
    • ChatGPT Ads · Apparel
    • ChatGPT Ads · Health & Beauty
    • xpay Listings · Amazon + Google
    • Pricing
    • Free audit
    • Shopify
    • WooCommerce
    • Apparel & Accessories
    • Health & Beauty
    • Overview
  • Commerce Index
    • Shopify apps directory
    • Agentic Commerce Ready Index
    • Methodology
    • Pet brands · WooCommerce
    • Pet brands · Shopify
  • Marketplace
    • 🛍️ xpay.deals — agentic storefront for deals
  • Protocols
    • Overview
    • x402
    • MPP
    • UCP
    • ACP
    • AP2
    • TAP
    • A2A
  • Agent Frameworks
    • Overview
    • LangChain
    • CrewAI
    • Claude MCP
    • AutoGPT
    • LangChain vs Mastra
    • LangGraph vs Pydantic AI
  • Company
    • About xpay
    • Blog
    • Docs
    • GitHub
  • Free prompts
    • Ecommerce prompts
    • Email marketing prompts
    • Product description prompts
    • Facebook ad prompts
    • Skincare prompts
    • Supplement prompts
    • Wine prompts
    • Electronics prompts

© 2025 Agentically Inc. All rights reserved.
Privacy PolicyTerms of UseAcceptable Use Policy