Restriction Mode
The Restriction Mode determines what happens when a visitor's country matches a restriction rule. This is a store-wide setting - it applies to all restricted products equally.
Navigate to WooCommerce → GeoBlock → General → Restriction Mode to configure it.
Hide
| Behaviour | Details |
|---|---|
| Shop / category / search loops | Product is invisible - not rendered in any listing |
| Single product page (direct URL) | Returns HTTP 404 (not found) |
When to use: For regulatory compliance where even showing the product creates liability. Use this for regional exclusivity where you want the product to appear as if it doesn't exist for restricted visitors.
Block Purchase
| Behaviour | Details |
|---|---|
| Shop / category / search loops | Product is visible in the catalog |
| Single product page (direct URL) | Page loads normally; Add to Cart button is replaced with the restriction message |
| Price | Hidden on the product page for restricted visitors |
When to use: For transparency - customers understand why they cannot buy. Good for informational catalogues or stores that want to signal intent to expand.
Redirect
| Behaviour | Details |
|---|---|
| All pages | Visitor is immediately redirected to the URL specified in the Redirect URL field |
Enter the destination URL in the Redirect URL field that appears when this mode is selected. This can be a page on your site (e.g., a "Not available in your region" landing page) or any external URL.
Choosing the Right Mode
Use Hide for regulatory compliance where even showing the product creates liability. Use Block Purchase for transparency - customers understand why they cannot buy.