Country Based Restrictions (CBR) lets you control which countries can see and purchase products on your WooCommerce store. Restrict individual products by country — hide them completely, hide them from the catalog, or keep them visible but non-purchasable.
How It Works
Country Detection
The plugin determines a visitor’s country in the following order:
- If the visitor is a logged-in customer with a saved shipping address, the Shipping Country is taken from their account.
- If no shipping address exists, or the visitor is a guest, the country is detected via WooCommerce GeoLocation (IP-based).
Visibility Options
When a product is restricted for a customer’s country, three visibility modes control what they see:
- Hide Completely — the product is removed from the store entirely, including direct links.
- Hide from Catalog — the product is hidden from shop and search results but remains accessible via direct URL.
- Catalog Visible — the product stays visible in the catalog but cannot be purchased (non-purchasable).