Shopify minimum order quantity and order limits planner
Use a quantity rule when the constraint is units or cartons, a value rule when it is money, and a weight rule when it is shipping. Choose what you want to control and enter a sample cart. The planner recommends a rule type and shows pass or fail with the formula, using the same counting logic as Prime MOQ's validation function. It runs in your browser and stores nothing.
Result
This sample cart would be blocked
All matching products (6 units)
Matching line totals add up to $75.00.
- Minimum total value$75.00 ≥ $100.00 fail
Not counted, outside the rule: Gift card.
Combined total: maximums apply while the cart is being built. Minimums and multiples let the cart build, then apply from the checkout step.
Recommended rule: Value
Set Limit type to Value and fill in Minimum total value.
If you only need one store-wide subtotal limit, Shopify's Checkout Blocks may already cover it. Use a rule when the limit depends on the products in the cart, or sits beside a quantity rule.
An educational model of a sample cart, not a Shopify checkout. Test your real rule on a development store before relying on it.
Which limit fits which problem
The rule type follows from what actually goes wrong when the limit is missing.
| Your problem | Goal | Rule type | Setup guide |
|---|---|---|---|
| A product is not worth picking below a certain number of units. | Minimum units | Quantity | Minimum Order Quantity (MOQ) Rules |
| Stock is limited, or one order should not take too much of it. | Maximum units | Quantity | Maximum Order Quantity Rules |
| Stock ships in cartons and a broken carton costs you money. | Whole case packs | Quantity | Case Packs and Multiple Quantity Rules |
| An order has to be large enough in money to cover its costs. | Minimum order spend | Value | Order Value Rules, Minimum and Maximum Cart Value |
| Large orders need a quote or a manual review. | Maximum order spend | Value | Order Value Rules, Minimum and Maximum Cart Value |
| A carrier or pallet has a real weight limit. | Shipping weight | Weight | Weight-Based Order Limits |
| One account should not buy a limited item again and again. | Units per customer over time | Repurchase | Repurchase Limits, Capping Purchases Per Customer |
For a single store-wide subtotal limit, Shopify's Checkout Blocks order value limits may be enough. A rule is for limits that depend on the products in the cart, such as quantities, case packs and limits on one collection.
Worked examples
Each result below comes from the same calculation as the planner.
| Rule | Sample cart | Calculation | Result |
|---|---|---|---|
| Multiples of 6 | 6 units | 6 ÷ 6 leaves 0 | Passes |
| Multiples of 6 | 7 units | 7 ÷ 6 leaves 1 | Blocked |
| Minimum 6, each item separately | 3 of A and 3 of B | 3 ≥ 6; 3 ≥ 6 | Blocked |
| Minimum 6, combined total | 3 of A and 3 of B | 6 ≥ 6 | Passes |
| Minimum $100 | $102 with a 15% discount | $86.70 ≥ $100.00 | Blocked |
| Maximum 10 lb | 10 units of 500 g | 11.023 lb ≤ 10 lb | Blocked |
Common questions
How should I calculate a minimum order quantity (MOQ) for my Shopify store?
Start from the constraint behind the limit. If a carton holds 6, sell in multiples of 6 rather than setting only a minimum, because a minimum of 6 still allows 7. If an order has to cover a fixed fulfillment cost, divide that cost by your margin per unit to get a unit floor, or use a value minimum when your prices vary a lot. Then test the number on a sample cart here and on a development store.
Is this a simulation of Shopify checkout?
No. It is an educational model that uses the same counting logic as Prime MOQ's validation function. It does not connect to a store, and real carts can involve discounts, markets and themes it does not model. Test a real rule on a development store before relying on it.
Does a minimum order value use the price before or after discounts?
After. Prime MOQ reads the line totals in the cart. In our development store test, a $102 cart with a 15% discount came to $86.70 and was blocked by a $100 minimum. Test your own discount type too, because the planner applies one simple percentage.
What is the difference between each item separately and combined total?
Each item separately checks every matching product on its own, so 3 of A and 3 of B fails a minimum of 6. Combined total adds the matching products first, so the same cart passes. Combined total is the mix-and-match minimum.
Where do these limits apply?
We tested enforcement at Online Store checkout on the Dawn theme, including the cart API and cart permalinks. We have not tested POS, draft orders, Order Edit, subscriptions or headless storefronts, so check Shopify's Cart and Checkout Validation API reference for those.
Last reviewed November 8, 2026. Sources: Shopify's Cart and Checkout Validation API reference and Checkout Blocks changelog, plus Prime MOQ's enforcement documentation.
Set up a real rule in Prime MOQ & Order Limits
Unlimited rules - no credit card - 24h support