Skip to content
Esc

Start typing to search the docs.

On this page
How-to Updated Aug 16, 2026

Minimum cart quantity

Set a Cart Min Quantity limit to require a minimum total number of items in the cart. If the cart has fewer items than the number you set, checkout is blocked. It counts all item quantities in the cart, even when they are different products.

Applies to
  • All Shopify plans
  • The total number of items across the whole cart
Doesn't apply to
  • Minimum order value — use Minimum order amount
  • Minimum quantity of one specific product — use Minimum product quantity
Want customers to spend a minimum amount instead of buying a minimum number of items? Use Minimum order amount
How to Set Minimum Cart Quantity in Shopify — plays here, or watch on YouTube.

A minimum cart quantity is useful when you need customers to order enough items to make packing or shipping worthwhile. It sets the minimum by number of items, not by order value.

Before you start

  • Decide the minimum total number of items required in the cart.
  • Prepare a clear message telling customers how many items they need.

Steps

1. Install Nex Validator

If Nex Validator is not installed yet, install it from the Shopify App Store and approve the required permissions. If it is already installed, skip to the next step.

2. Go to Simple Order Limit → Create Rule.

3. Give the rule a clear title, then make sure Enable/Disable Limit is turned on. If the rule is not enabled, it will not apply to customer orders.

4. Open the Cart tab and select Cart Min Quantity. Enter the minimum total number of items customers must have in their cart.

Example: if you enter 10, a cart with 9 items is blocked, while a cart with 10 or more items can continue.

5. Add a clear error message that tells customers what they need to change, then save the rule. For example: “Please add at least 10 items to continue.”

Verify it worked

  1. Add fewer items than the minimum and go to checkout. Checkout should be blocked and your message should appear.
  2. Add exactly the minimum number of items. Checkout should continue normally.

For example, if the minimum is 6, a cart with 6 items should be allowed.

Common setups

GoalExample minimum
Make packing and shipping worthwhile4–6 items
Build-your-own box or mixed caseYour required case size
Wholesale orders12–24 items
Sample packs3 items

Frequently asked

Does it count units or distinct products?

Units. Three of one product and two of another is five, not two.

Can I require a minimum only for some products?

Not with this limit — it looks at the whole cart. Use minimum product quantity, or Advanced Rules for a conditional version.

What if a customer is below the minimum?

Checkout is blocked and your message is shown. They stay on the cart and can add more.

See also: Maximum cart quantity · Minimum order amount · Minimum product quantity