Documentation
GeoBlock Pro
Settings
Restriction Mode

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

BehaviourDetails
Shop / category / search loopsProduct 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

BehaviourDetails
Shop / category / search loopsProduct is visible in the catalog
Single product page (direct URL)Page loads normally; Add to Cart button is replaced with the restriction message
PriceHidden 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

BehaviourDetails
All pagesVisitor 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.