Product Icon

Country Based Product Purchase Restriction for WooCommerce

Stop unauthorized buyers instantly. Restrict WooCommerce purchases by country, role & guest access. Auto-hide price & Add to Cart. No coding needed.
Choose a billing option
$29
Save 20%
$58 $46.40

Product comparison

Subscription includes

  • Product updates and improvements
  • Customer support
  • 30-day money-back guarantee

  • Restrict product purchases by country
  • Restrict product purchases by user role
  • Combine country + role for strict, layered access control
  • Hide product price automatically for restricted users
  • Disable Add to Cart button for restricted users
  • Allow or block guest user purchases, per country
  • Set restrictions individually for each product
  • Custom restriction messages with HTML support (including links)
  • Custom button label and button color options
  • Real-time IP-based country detection — no extra setup
  • Fully manageable from the WordPress admin panel — no coding required
  • Compatible with the latest WordPress and WooCommerce versions

Stop Selling to the Wrong Customer in the Wrong Country

Automatically restrict who can buy each product — by country, by user role, and by guest status. No code. No manual order-checking. No compliance headaches.

Every order you can’t legally fulfill is a refund, an unhappy customer, and a compliance risk. If your WooCommerce store is selling into restricted regions, letting retail customers buy at wholesale prices, or allowing guest users to bypass role-based rules — the issue isn’t your product. It’s access control.

Country Based Product Purchase Restriction puts an invisible gatekeeper on every product page. It detects the customer’s country via IP, checks their user role, and if the two don’t match your rules — the price disappears, the Add to Cart button vanishes, and the order never gets placed. All automatic, all in real time, with zero manual work on your end.

Why You Need This — Pain Point Section

Is your store selling to the wrong people?

Without proper restrictions in place, these problems happen every day:

  • Customers from restricted countries complete checkout — for products you can’t legally ship to them
  • Retail customers buy wholesale-only products at distributor pricing
  • Guest users bypass role restrictions and place orders you can’t fulfill
  • Regional distribution agreements break down because the store has no geo-control

These aren’t just lost sales — they’re compliance risks, damaged partner relationships, and avoidable refunds.

Core Features — Benefit-Led

  • Country-Level Access Control Choose exactly which countries can purchase each product. Everywhere else — no price, no Add to Cart, no confusion.
  • Role-Based Purchase Permission Assign different user roles to each allowed country. This goes beyond simple geo-blocking — you control who, from where, and in what role can buy.
  • Strict Country + Role Matching A purchase is only allowed when both conditions match. Right country, wrong role — blocked. Right role, wrong country — blocked. No loopholes.
  • Automatic Unauthorized Buyer Blocking Unapproved buyers never reach checkout. The system stops them upfront — no manual order review needed.
  • Guest User Control (Per Country) For B2B stores that require registration, allow or block guest purchases on a per-country basis.
  • Auto Hide Price & Add to Cart Restricted visitors never see a price or an Add to Cart button — a clean, professional, confusion-free experience for every visitor.
  • Real-Time IP Geolocation No extra API setup required. The plugin detects each customer’s real location on every visit and applies your rules automatically, out of the box.

Real-World Use Cases

 

Business Type How It Helps
Wholesale & B2B Distributors Keep wholesale products limited to verified buyers; retail visitors can view, but not purchase
Regional Distributors Protect exclusive territory agreements — allow direct sales only in covered countries
Legally Restricted Products Automatically block products that can’t legally be sold in certain countries
Regional Product Launches Launch in select countries first, then expand the list when ready — no code changes needed

Frequently asked questions

How does the country-based restriction work?

The plugin detects the customer’s country using IP geolocation and checks it against the allowed countries set by the admin. If the customer’s country is not allowed, they cannot purchase the product.

Can I allow different user roles for different countries?

Yes. You can select specific user roles for each allowed country. Only users whose role matches the allowed roles for their country will be able to purchase the product.

What happens if a user’s country is allowed but their role is not?

If the country matches but the user role is not permitted, the user will not be able to purchase the product. The price and Add to Cart button can be hidden based on your settings.

Can guest users purchase restricted products?

Yes, if you enable guest access. Guest users can purchase products only from allowed countries. If guest access is disabled, guests will be blocked regardless of country.

Does the plugin hide the price for restricted users?

Yes. You can enable the option to hide prices for restricted users, ensuring they do not see product pricing if they are not allowed to purchase.

Will the Add to Cart button be removed for restricted users?

Yes. The plugin automatically hides or disables the Add to Cart button for users who do not meet the country and role requirements.

How accurate is the country detection?

The plugin uses WooCommerce geolocation based on IP address. While highly accurate, results may vary if users are using VPNs or proxy services.

Customer reviews

We are accepting reviews for this product, and will display them when we get a few more.

Extension information

  • PHP version required: 7.4
  • Tested with WordPress: 6.9.4
  • Tested with WooCommerce: 10.7.0
  • Requires at least WordPress: 4.4
  • Requires at least WooCommerce: 3.0

Countries

  • Worldwide

Related Products

Price $79 annually
Rated 3.4 out of 5 stars
Price $279 annually
Rated 3.2 out of 5 stars
Price $59 annually
Rated 3.1 out of 5 stars
Price $109 annually
Rated 2.7 out of 5 stars
Price $49 annually
Rated 4.1 out of 5 stars
Price $109 annually
Rated 2 out of 5 stars
Price $109 annually
Rated 2.3 out of 5 stars
Price $39 annually
Rated 2.8 out of 5 stars
Price $109 annually
Rated 2.6 out of 5 stars
Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.