Set conditions for which customers are allowed to purchase products.
Field | Description |
|---|---|
① Title | The name used to identify the rule |
② Limit details | Set the conditions for customers who can make purchases |
③ Eligible items | Specify the scope of products the restriction applies to |
④ Product message | Message displayed on the product page |
⑤ Alert message | The error message displayed at checkout when a restriction is violated |
The name used to identify the rule. Not displayed to customers. When creating multiple rules, set a name that is easy to manage.
Purchase conditions can be set by combining multiple options.
Customer accounts
Value | Description |
|---|---|
Require account | Customers who are not logged in cannot make purchases |
Not required | Guest purchases are allowed |
When Not required is selected, the alert message Display timing is automatically fixed to Checkout only.
Customer tags
Value | Description |
|---|---|
Only customers with the tags below are allowed to purchase | Only customers with the specified tags can make purchases |
Customers with the tags below are not allowed to make purchases | Customers with the specified tags cannot make purchases |
Customer tag restrictions apply to logged-in customers only. We recommend combining this setting with Require account.
Customer metafield
Set purchase permissions or restrictions based on customer metafield values. Specify the Namespace, Key, Type, and the values to allow or deny.
Type | Description |
|---|---|
Single line text | Evaluated based on a string value |
Number (integer) | Evaluated based on a numeric value |
True or false | Evaluated based on a boolean value |
Order email address
Restricts purchases based on the domain of the email address used at checkout. Domains are matched using a suffix match (e.g., setting "example.com" will also block "sub.example.com"). Japanese carrier email domains can be added all at once using a preset.
When email domain restriction is used, the alert message Display timing is automatically fixed to Checkout only.
Specify the scope of products the restriction applies to.
Value | Description |
|---|---|
All items | Applies the restriction to all products in the store |
Specific collections | Applies to products in the specified collections (up to 50 collections) |
Specific products | Applies to the specified products (up to 50 products) |
Products with specific tags | Applies to products with any of the specified tags (OR condition) |
The message displayed below the Add to cart button on the product page of eligible items. Use this to inform customers of purchase conditions in advance.
The error message displayed at checkout when a restriction is violated.
Display timing
Value | Description |
|---|---|
Cart updated and checkout | Displays the error on both the cart page and the checkout page |
Checkout only | Displays the error on the checkout page only |
In the following cases, Display timing is automatically fixed to Checkout only:
When Not required is selected for Customer accounts
When email domain restriction is used
Variables cannot be used in alert messages for customer rules.