Skip to content
Esc

Start typing to search the docs.

On this page
How-to Updated Aug 16, 2026

Maximum collection quantity

Add a Collection Max Quantity limit, pick the collection, and set the cap. Checkout is blocked if the cart holds more than that many items from anywhere in the collection.

Applies to
  • All Shopify plans
  • Any Shopify collection, manual or automated
Doesn't apply to
  • Capping one product — use maximum product quantity
  • Limits across separate orders
Capping a single product instead? Use maximum product quantity

The cap that closes the obvious loophole. Limiting each product to two does nothing if the range has ten products — a collection cap limits the range as a whole.

Before you start

  • The collection, and the cap across it.
  • Whether an automated collection would be easier to maintain than a manual one.

Steps

1. Install Nex Validator

Search Nex Validator in the Shopify App Store, or use the button below. Approve the permissions and the app appears in your admin under Apps. There is a free trial, and it works on every Shopify plan.

2. Go to Simple Order LimitCreate Rule.

3. Give the rule a title, and switch Enable/Disable Limit on. A rule that is saved but not enabled looks identical to one that is not working.

4. Open the Collection tab, choose Collection Max Quantity, and pick the collection and set the cap.

5. Write the message, then save, naming the range so the customer knows which items to remove.

Verify it worked

  1. Cart above the cap, spread across several products in the collection → blocked.
  2. Cart at the cap → completes.
  3. Cart mixing collection and non-collection items → only the collection items count toward the cap.

Common setups

GoalMaximum
Limited edition line2 across the range
Regulated categoryWhatever the rules require
Event merchandisePer-attendee allowance
Clearance, to spread stock3–5

Frequently asked

Why cap a collection instead of each product?

It stops the workaround. A per-product cap of 2 across a ten-product range still lets someone take twenty; a collection cap of 2 means two from the whole range.

Does an automated collection work?

Yes, and it is often the point — a tag-driven collection lets you cap a category without maintaining a list.

Does it stop a second order?

No. It caps one cart.

See also: Minimum collection quantity · Maximum product quantity · Maximum cart quantity