A rule can work correctly at checkout even if customers can still select an invalid quantity on the product page.
Storefront · Product page
Controls which quantities customers can select
Needs
- App embed ON
- Product metafield
- “Allow bulk limit” ON
Extra setup required
Checkout · Shopify checkout
Checks the order before the customer completes checkout
Needs
- The rule to be Enabled
Works immediately
These work separately. Checkout can block an invalid order even when the product-page quantity selector is not locked.
Checkout — checks the order before purchase
When a rule is Enabled, Nex Validator checks the customer’s order at checkout. If the order does not meet the rule, checkout is blocked and the rule message is shown. More on how Shopify checkout validation works.
Example: if a product has a minimum quantity of 6 and the customer tries to check out with 2, the customer cannot complete checkout.
Storefront — control the quantity selector
The storefront option can stop customers from choosing an invalid quantity on the product page. This needs extra setup. For it to work, make sure:
- The Nex Validator app embed is enabled — see install.
- The product has the correct quantity metafield and value.
- Allow bulk limit is turned on in the rule.
Example: if the product minimum is 6, the quantity selector can prevent the customer from choosing 1, 2, 3, 4, or 5.
What this means in practice
| Setup | Product page | Checkout |
|---|---|---|
| Normal Product Min/Max rule only | Quantity selector may stay unchanged | Rule blocks invalid checkout |
| Product metafield added, but storefront setup is off | Quantity selector stays unchanged | Depends on the enabled rule |
| Product metafield + app embed + Allow bulk limit on | Quantity selector follows the metafield | Invalid checkout is blocked when the rule is enabled |
If you set a minimum quantity but the product page still allows quantity 1, do not assume the rule is broken. Test checkout. Storefront quantity control requires the extra setup shown above.
Which layers you actually want
For most rules, checkout blocking is the important part because it stops an invalid order from being completed. Storefront quantity control is optional. Turn it on when you also want the product-page quantity selector to guide customers toward valid quantities.
- Checkout only: the customer may select 2, but checkout tells them they need 6.
- Checkout + storefront control: the product page also prevents them from selecting less than 6.