WPLocation

Country-aware content for WordPress

  • Features
  • Demo
  • Add-ons
  • Pricing
  • Blog
  • Account
  • Get WPLocation
← All documentation/Test WooCommerce country rules end to end
Pro

Test WooCommerce country rules end to end

For the current website releases: Free 1.1.4 and Pro 1.4.0.

On this page
  1. Before you test
  2. Run the visitor flow
  3. When a result is unexpected
Free setupPro & licensingMy account & downloads

WPLocation Pro 1.0.0 targets standard WooCommerce products and product categories. It requires active Free 1.1.0 or newer, WooCommerce and a healthy local country source. A passing country check in the editor is the first test, not the last one: the catalog, direct URL, cart and checkout can involve different requests and caches.

Before you test

  1. Confirm Free and Pro are active and WooCommerce is active.
  2. In WPLocation → Diagnostics, verify the GeoLite2 Country source and test an address.
  3. In WPLocation → Pro, save the product or category audience and check an allowed and denied country.
  4. Purge host, plugin and CDN caches.

Run the visitor flow

Step What to confirm
Catalog or search Restricted products are filtered for a denied country.
Direct product URL The item is not available to a denied country.
Add to cart and existing cart A denied item cannot remain purchasable after country or rule changes.
Classic and Store API checkout Detected country and applicable shipping or billing country are checked.
Unknown country Restricted products are unavailable; unrestricted items remain available.

When a result is unexpected

Check every product category and ancestor; each applicable rule must allow the visitor. A product rule cannot override a denied category. Variations inherit the parent product. Check whether a cached catalog page or a custom product feed bypasses WordPress. Custom gateways, third-party APIs and multilingual storefronts require separate compatibility testing.

For setup and license activation see Pro installation. For page-cache behavior see cache safety. Country targeting cannot establish legal residence or replace regulated-sales controls.

Where to next?

Choose the right country rule →Check your cache and CDN →Browse all guides →
Need help with this guide?

Contact WPLocation with your software versions and the result you expected. Keep keys and customer data private.

Company

  • About us
  • Contact
  • Terms & Conditions
  • Privacy Policy

Product

  • Features
  • WPLocation Pro
  • Pricing
  • Add-ons roadmap
  • Get WPLocation

Resources

  • Blog
  • Documentation
  • Installation
  • Shortcodes
  • Changelog

Account & Support

  • My Account & Licenses
  • Contact Support
  • Blocked-content behavior

Copyright © 2026. WPLocation is a project of TechAbout LLC.
Questions? [email protected]