Prime MOQ

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.

The rule
How to count
Sample cart

Result

This sample cart would be blocked

  • Green tea (3 units)

    • Minimum quantity3 ≥ 6 fail
    • Sell in multiples of3 ÷ 6 leaves 3 fail
  • Black tea (3 units)

    • Minimum quantity3 ≥ 6 fail
    • Sell in multiples of3 ÷ 6 leaves 3 fail

Not counted, outside the rule: Gift card.

Each item separately: minimums, maximums and multiples apply while the cart is being built and again at checkout.

Recommended rule: Quantity

Set Limit type to Quantity and fill in Sell in multiples of. Add the same number as Minimum quantity to require at least one full case.

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 problemGoalRule typeSetup guide
A product is not worth picking below a certain number of units.Minimum unitsQuantityMinimum Order Quantity (MOQ) Rules
Stock is limited, or one order should not take too much of it.Maximum unitsQuantityMaximum Order Quantity Rules
Stock ships in cartons and a broken carton costs you money.Whole case packsQuantityCase Packs and Multiple Quantity Rules
An order has to be large enough in money to cover its costs.Minimum order spendValueOrder Value Rules, Minimum and Maximum Cart Value
Large orders need a quote or a manual review.Maximum order spendValueOrder Value Rules, Minimum and Maximum Cart Value
A carrier or pallet has a real weight limit.Shipping weightWeightWeight-Based Order Limits
One account should not buy a limited item again and again.Units per customer over timeRepurchaseRepurchase 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.

RuleSample cartCalculationResult
Multiples of 66 units6 ÷ 6 leaves 0Passes
Multiples of 67 units7 ÷ 6 leaves 1Blocked
Minimum 6, each item separately3 of A and 3 of B3 ≥ 6; 3 ≥ 6Blocked
Minimum 6, combined total3 of A and 3 of B6 ≥ 6Passes
Minimum $100$102 with a 15% discount$86.70 ≥ $100.00Blocked
Maximum 10 lb10 units of 500 g11.023 lb ≤ 10 lbBlocked

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

We use one cookie to remember this choice, and Google Analytics only if you say yes. Nothing analytics related loads until you do. Read the cookie policy.