Advanced Settings
Access these options from the Advanced tab at WooCommerce → GeoBlock → Advanced.
Force Geolocation
| State | Behaviour |
|---|---|
| Off (default) | Logged-in customers are identified by their saved shipping address first, then billing address, then IP |
| On | IP-based detection is always used, even for logged-in customers with saved addresses |
When to use: Enable if your customers' shipping addresses may not reflect their physical location - for example, if they use freight forwarders, P.O. boxes, or re-shipping services.
Enabling Force Geolocation means a customer in Germany who ships to a US address will be detected as Germany. Disable it if your rules should follow the shipping destination rather than physical presence.
Debug Mode
When enabled, a debug toolbar appears at the bottom of every frontend page. It is visible only to shop managers and administrators - regular visitors never see it.
The toolbar displays:
| Field | Description |
|---|---|
| Country | Flag emoji, country name, and 2-letter ISO code |
| IP | The visitor's detected public IP address |
| Source | How the country was determined (see How Geolocation Works) |
| WC Geo | Whether WooCommerce geolocation is enabled in store settings |
| Force Geo | Indicator when Force Geolocation is active |
Use Debug Mode to verify that geolocation is working before going live with restrictions. Remember to disable it when done.