Yuupee Country Catalog Rules for WooCommerce
Most country-restriction plugins for WooCommerce bring their own IP geolocation. If your store already has WooCommerce’s built-in geolocation active (the MaxMind GeoIP2 database WooCommerce ships with), a second, independent lookup can disagree with it near a border or behind a VPN. Yuupee Country C
Most country-restriction plugins for WooCommerce bring their own IP geolocation. If your store already has WooCommerce’s built-in geolocation active (the MaxMind GeoIP2 database WooCommerce ships with), a second, independent lookup can disagree with it near a border or behind a VPN.
Yuupee Country Catalog Rules reuses WC_Geolocation — the same detection WooCommerce already uses for shipping, tax, and currency — so there’s only ever one source of truth about where a visitor is.
Features
- Restrict a whole product category to specific countries in one place.
- Per-product override for exceptions to a category rule.
- Two modes: hide completely, or show everywhere — including shop/category grid cards — with an Amazon-style “not available in your country” badge and a custom message that can include the visitor’s detected country name.
- Admin preview mode ( ?ccrw_preview_country=XX ) — test rules without a VPN.
- Fails open on undetected location: never accidentally hides a product from a real customer because geolocation couldn’t determine their country.
- 01Upload to /wp-content/plugins/ or install via Plugins → Add New → Upload.
- 02Activate.
- 03Set category rules under Products → Categories.
- 04Set per-product overrides under each product’s Product Data → Country Catalog Rules tab.
- 05Optional: customize the unavailable-product message under WooCommerce → Settings → Country Catalog Rules.