Skip to content

Order minimums and quantity limits

What you’ll build: checkout rules like “orders must be at least $50” or “maximum 3 of this product per order”, with your own error message.

Requirements: Deals & Rules or Buddy. Works on every Shopify plan.

Purchase limits set a minimum order, a quantity limit, pack sizes and limits per customer directly, with a message for each, and also stop customers adding more than a maximum to the cart.

  1. In Checkout Buddy, open Customizations. On the Checkout rules tab, click Create customization and choose Purchase limits.

  2. Under Start from a template, click Order minimum (orders of $50 or more) or 2 per order (at most 2 of each product), then change the number.

  3. For a quantity limit, pick the products, tags or collections it Applies to.

  4. Click Save, then test with a cart that breaks the limit and one that doesn’t.

The checkout blocker covers the limits Purchase limits don’t have, like free items per paid item, or mixing subscriptions and one-time items. Remember that its conditions describe when to block.

  1. In Checkout Buddy, open Customizations. On the Checkout rules tab, click Create customization and choose Checkout blocker.

  2. Write an Error message that tells the customer how to fix it.

  3. Choose Apply only when conditions pass and Condition set 1, then add the condition for your limit (see the table below).

  4. Click Save, then test with a cart that breaks the limit and one that doesn’t.

Goal Condition (blocks when true) Example message
Minimum order value Cart subtotal is less than 50 “Orders must be at least $50.”
Maximum items per order Number of items is more than 10 “You can order up to 10 items at a time.”
Maximum of one product Quantity of variants is more than 3, with the product’s variants selected “Limit 3 per order.”
Minimum of each selected product Cart products includes the variants AND Quantity of each variant is less than 2, with the same variants selected “This item has a minimum of 2.”
No more of a free item than of the paid product Free item quantity exceeds selected product quantity, with the paid product selected. Blocks when any single free line has a higher quantity than the paid product; never blocks if the paid product isn’t in the cart “Only one free item per item purchased.”
Don’t mix subscriptions and one-time items Cart contains both subscriptions and one time purchases “Please check out subscriptions separately.”
  • Minimums only for wholesale: in Purchase limits, set Who it applies to to Logged-in customers with tags or B2B customers, or start from the Wholesale minimum template. In a checkout blocker, add B2B customer exists (AND) to the minimum condition, or use Customer tags includes wholesale.
  • Different minimums per country: in Purchase limits, add a limit per country with Only in some countries or regions. In a checkout blocker, create one blocker per market and use the Markets card.
  • A limit per customer, like 1 each: Purchase limits with Count purchases set to Per customer, all time. See per-customer limits.
  • Minimum for local delivery only: a checkout blocker on Condition set 3 with Selected shipping option title includes Local delivery AND Cart subtotal is less than 30.
  • Purchase limits check the cart too. Adding more than a maximum to the cart is refused, and the notices show limits on product and cart pages. A checkout blocker’s message shows at checkout only.
  • Messages show at the top of checkout, not next to a product.
  • Amounts are in your store’s currency and converted for customers paying in another currency.
  • In a checkout blocker, “is less than” and “is more than” are strict. “Less than 50” blocks $49.99 but allows exactly $50.
  • Quantity of each variant needs a Cart products condition. On its own it also blocks carts that don’t contain the product at all. Add Cart products includes the same variants in a separate AND group.
  • Number of items counts units (2 shirts + 1 hat = 3). Number of line items counts different products and variants (2).