Rule templates
12 starting points. Each one opens in the rule builder with sensible defaults, and every value can be changed before you save.
Order minimum
FreeBlock checkout if the cart subtotal is below a threshold.
RuleBlock when Cart subtotal is less than 50.
Shoppers seeThere's an order minimum of $50
Order maximum
FreeBlock checkout if the cart subtotal is above a threshold.
RuleBlock when Cart subtotal is greater than 1000.
Shoppers seeThere's an order maximum of $1000
Max quantity per SKU
FreeBlock checkout if any single line exceeds a quantity limit.
RuleBlock when any line item's Line quantity is greater than 10.
Shoppers seeYou can order at most 10 of any single item
Total quantity cap
FreeBlock checkout if the cart's total item quantity exceeds a limit.
RuleBlock when Total item quantity is greater than 50.
Shoppers seeCarts are limited to 50 items total
Allow only specific countries
FreeBlock checkout unless the delivery country is in an allowed list.
RuleBlock when Delivery country is not one of "US", "CA".
Shoppers seeWe don't currently ship to your country
Block specific countries
FreeBlock checkout if the delivery country is in a blocked list.
RuleBlock when Delivery country is one of "MX", "BR".
Shoppers seeWe don't currently ship to your country
Block specific ZIP/postal codes
FreeBlock checkout if the delivery ZIP/postal code is in a blocked list.
RuleBlock when Delivery ZIP/postal code is one of "99501", "96701".
Shoppers seeWe don't currently deliver to your postal code
Require a customer tag
FreeBlock checkout unless the customer has a required tag (e.g. token-gating, membership).
RuleBlock when Customer tags does not contain "vip".
Shoppers seeThis checkout is restricted to vip customers
Require an account
FreeBlock checkout for guests — customer must be logged in.
RuleBlock when Customer is logged in is false.
Shoppers seePlease log in to your account to check out
PO number format (advanced)
ProBlock checkout unless a cart attribute matches a required pattern. Ships in expression mode.
RuleBlock when not attr("po_number") matches "^PO-\\d+$".
Shoppers seepo_number must match the required format
Require a cart attribute
FreeBlock checkout unless a cart attribute is present and non-empty.
RuleBlock when Cart attribute "gift_message" is empty.
Shoppers seegift_message is required
Gate on a product metafield
ProBlock checkout if any line item's product metafield matches a value (e.g. age-restricted items).
RuleBlock when any line item's Product metafield (custom.age_restricted) is "true".
Shoppers seeThis order contains a restricted item