Advanced checkout validation rules
Combine multiple conditions with AND/OR logic in a single rule. Build precise checkout validation for any scenario — from wholesale gating to regional restrictions.
Anatomy of a validation rule
Every rule follows the same pattern: define conditions, choose logic, write an error message, and pick where it appears.
Conditions
One or more checks
across cart, product,
customer & location
AND / OR Logic
All must match (AND)
or any can match (OR)
Error Message
Custom message shown
when conditions match —
blocks checkout
Placement
Checkout only, or
Cart + Checkout for
dual-layer validation
Combine conditions with AND/OR logic
Most apps let you set one condition per rule. Nex MOQ lets you combine multiple conditions in a single rule using AND or OR logic — so you can express exactly the business rules you need.
AND — all conditions must be true
Every condition in the rule must match for the error to appear
OR — any condition can be true
The error appears if at least one condition matches
Live rule examples
25+ conditions to build any rule
Use a single condition or combine multiple. When combining, choose AND (all must match) or OR (any can match). Mix and match across four categories.
Cart conditions
5 conditions
Product conditions
13 conditions
Customer conditions
4 conditions
Location conditions
3 conditions
Customizable error messages with smart placement
Every rule shows a custom error message when conditions match. Choose where it appears and write it in any language — with dynamic values like amounts and quantities.
Dual-layer placement
Show errors on the cart page (friendly guidance), at checkout (hard block), or both for maximum coverage.
Any language, dynamic values
Write messages in any language. Insert dynamic values like cart total, quantity needed, or product name.
Brand-matched styling
Configure error styling to match your store — colors, icons, and formatting from the app dashboard.
Cart page preview
Wholesale orders require a $500 minimum
Add $158.00 more to proceed to checkout.
Set up in minutes
No code required. Build rules visually in the app dashboard.
Pick your conditions
Choose from 25+ conditions across cart, product, customer, and location categories.
Set AND/OR logic
Choose whether all conditions must match (AND) or any single condition triggers the rule (OR).
Write your error message & choose placement
Write a custom error message in any language with dynamic values. Then choose where it appears — checkout page only, or cart page + checkout for dual-layer validation.
Ready to enforce order limits?
Start your free trial. No code required. Works on all Shopify plans.
Plans from $9.99/month after free trial · Free for dev stores