PURCHASE LIMITS / GUIDE 12

How to restrict purchases by email and country

Configure guest email lists and shipping-country conditions in product access rules, with clear buyer matching behavior.

3 min read

In a product access rule, email lists match only guests who are not logged in, using the email entered at checkout. Country conditions apply to both guests and logged-in buyers. Checkout uses the shipping address country; a cart page can only show an IP-based country hint. Test the final result at checkout.

Set a guest email audience

  1. Create or edit a Product access rule. Choose Blacklist or Whitelist and define the target products or collections.
  2. Expand EMAIL AUDIENCE (GUEST CHECKOUT) and add addresses individually under Include emails or Exclude emails.
  3. An included email on a blacklist blocks that guest, while an excluded email can exempt the guest. On a whitelist, an included email permits the guest and an excluded email denies them. Save and review the Rule effect preview.

Set the shipping-country condition

  1. Expand COUNTRY AUDIENCE (GEOGRAPHIC).
  2. Use Allowed countries to specify countries and Blocked countries to exclude countries. With both lists, the country condition requires a shipping address inside the allowed list and outside the blocked list. For “only these countries may buy,” use a whitelist scoped to specific products or collections and test addresses both inside and outside the list.
  3. Save the rule and country-specific messages in Translation, then enable Enable checkout validation.

Example: One guest email and one shipping country

Create a whitelist for Product A, add vip@example.com to Include emails, and select the United States under Allowed countries. A guest using that email and a US shipping address can buy one unit of A. The same email with a Canadian shipping address is blocked, as is a different guest email with a US address. A logged-in buyer does not enter the guest email audience merely because the account email matches; configure customer tags to allow logged-in buyers.

The buyer must enter an email before the guest email condition can be evaluated. Country conditions combine with the applicable tag or email audience. The IP hint on a cart page can differ from the shipping country at checkout; the checkout address governs the result. Test both buyer types and both shipping countries.
When a blacklist is combined with country lists, checkout blocking may be broader than the rule preview suggests. To allow purchases only from selected countries, use a whitelist scoped to specific products or collections and test shipping addresses both inside and outside the list before launch.

For a per-buyer quantity cap, see product limits, and check checkout validation.

Keep going

Use a test product or cart to check the outcome before applying this setup across your store.

All guides