Country Based Restriction for WooCommerce & Pre Order

Bluehost Shared Hosting

WooCommerce Restricted Countries Pre Order

WooCommerce Restricted Countries Pre Order helps you restrict product purchasing by customer country—while still capturing demand from regions where the product is currently unavailable.

The plugin uses WooCommerce’s built-in Geolocation to detect a visitor’s country. If the product is restricted for that country, the customer won’t be able to purchase it—and a Pre Order Request button is displayed instead of the standard Add to Cart flow (simple products).

When the customer clicks the Pre Order Request button, a popup form opens asking for Name, Email, and Required Quantity. After submission, the request is stored in the WordPress admin under Country Restrictions → Pre-Order Requests, so the store owner can follow up when the product becomes available in that customer’s country.

This is ideal for stores that sell region-limited or staged-release products and want a simple way to collect leads—without allowing restricted customers to place orders.

Country Based Restriction for WooCommerce & Pre Order

Compatibility note: If your theme or a third-party plugin replaces the single-product Add to Cart behavior with a custom AJAX implementation, it may conflict with how this plugin injects the pre-order UI on the product page. Shop and category archives respect catalog visibility rules—test with your theme.

Country restrictions, global defaults & rules

Open Country Restrictions → Settings (General & Payment tabs) to set defaults based on WooCommerce geolocation. Refine behavior with Rules and product-level options.

  • Default catalog visibilityShow all products or Hide all products. Hide-all locks the catalog until a matching Show rule opens it for chosen countries and product scope. Show-all keeps the catalog open; use Hide rules or products settings to tighten access.
  • Default price visibility — Globally show or hide prices; Rules can whitelist or blacklist prices per country and per products/categories/tags.
  • Default Add to cart visibility — Same idea globally; rules adjust buttons per country/scope independently of catalog and price layers.
  • Restriction message (global) — Set under WooCommerce → Settings → Products → Restriction message. Shown when a product is restricted on the single-product page unless overridden per product (below).
  • Payment Method Settings — Disable selected payment gateways for visitors from chosen countries at checkout.

Rules

Country Based Restriction for WooCommerce & Pre Order

Country Restrictions → Rules: add countries, enable Catalog visibility, Product price, and/or Add to cart separately, choose Show or Hide per layer, and set scope via products, categories, and tags. You must select scope (products/categories/tags) so the rule matches items—an empty scope matches nothing.

Per-product

  • Countries type: all / only selected / excluding selected.
  • Optional Message for other countries (overrides the global restriction message for that product).
  • Exclude from rule-based catalog restrictions — only the product country settings apply for catalog rules/defaults on that product.

This workflow supports both “deny by default, allow selectively” and the opposite, depending on your General Settings and rules.

0 average based on 0 ratings.

WpAwes0m3

WpAwes0m3

Visit Author's Portfolio

View Portfolio
Last Update 2026-03-29
Created 2018-04-29
Sales 2
Discussion Comments
Compatible Browsers IE9 IE10 Firefox Safari Opera Chrome Edge
Software Version WordPress 4.9.x
Compatible With WooCommerce 7.x.x WooCommerce 6.x.x WooCommerce 5.x.x
Gutenberg Optimized No
High Resolution No
Files Included JavaScript JS JavaScript JSON HTML CSS PHP
Video Preview Resolution
Search plugins
Browse Categories

Bluehost Shared Hosting