Ecom Store Pro

How do you limit quantity per customer on Shopify?

Published ·
At a glance
Short answer
Shopify's add-to-cart limit caps each variant per cart, not per customer; for a per-customer cap, use an App Store app with a validation Function.
Recommended limit
50 per variant if your store has fewer than 250 sales; above that, calculated from your order data
Cart limit skips
POS and draft-order carts, B2B quantity-rule carts and B2B profiles, untracked items, items that keep selling when out of stock
Function apps by plan
Custom apps: Shopify Plus only; public App Store apps: any plan per shopify.dev, Basic and up per Help Center

Which Shopify limit stops what?

Each tool caps a different thing, so start from what you want to stop:

Four limits and what each one counts

What you want to capToolWho it coversWhere it stops
Units of each variant in one cartAdd-to-cart limitAll customers and carts, six exceptionsEach variant separately, one order
Minimum, maximum or incrementsB2B quantity rulesB2B catalogs on Basic, Grow, Advanced and PlusEach variant on its own, one order
Units one customer can buyApp with a validation FunctionPublic apps: any plan per shopify.dev, Basic and up per Help Center; custom apps on Plus onlyWhatever rule the function checks
Order value, not unitsCheckout Blocks order value limitsAll customers or only B2B companiesSubtotal before gift cards and store credit

Read on Shopify Help Center and shopify.dev, October 25, 2026.

Order value limits are the odd one out: they work on the order subtotal in money, so they can't hold a shopper to a number of units.

Shopify's own pages disagree on which plans get them: the April 13, 2026 changelog lists Basic, Grow, Advanced and Plus, while the Checkout Blocks help page gives the Basic plan and up only the dynamic and static content blocks on the Thank you and Order status pages, and keeps every other feature on Plus. Check that Checkout Blocks offers order value limits on your plan before you rely on them; our minimum order amount answer sets out both sides.

What does the add-to-cart limit cap?

The add-to-cart limit sets how many of each product a customer can add to their cart in one order, across all products, customers and carts, with six exceptions listed below. It is active by default, and you can turn it off or change the number at any time. What it counts is the part merchants miss:

The maximum quantity applies to each product's variants independently, not to the product or cart as a whole.
Shopify Help Center — Set a limit to the maximum quantity of items per cart ·

So a limit of 30 still lets one shopper buy 30 red, 30 blue and 30 green t-shirts in one order, Shopify's own example, because each color is treated separately.

In Shopify adminOpen in your store
  1. Settings
  2. Checkout
  3. Advanced preferences
  4. Add-to-cart limit
Open this row to set the Limit. Checkout rules, below, is where a validation app's rules get turned on.

In that row, Shopify's help page says to activate the option to set a maximum quantity per item, then enter a whole number in the Limit field; the recommended limit displays beneath it.

That recommendation is 50 if your store has made fewer than 250 sales; past 250 sales, Shopify calculates it from your store's order data. You can go higher or lower, but Shopify warns that a limit set too low can hurt your sales.

Shopify lists six cases the limit skips:

  • carts created in Shopify POS
  • carts created as draft orders
  • carts holding products from B2B catalogs that have their own quantity rules
  • customers logged in with a B2B customer profile
  • products or variants with Inventory tracked turned off
  • products or variants set to Continue selling when out of stock

Our checkout settings guide places it among the other settings.

How do you cap units per customer?

Both built-in caps are counted per order: the cart limit covers what a customer adds “in one order”, and a B2B maximum limits a variant “in one order” too.

For a rule that follows the customer, Shopify's developer documentation points to validation Functions, which “can block checkout progress when business rules aren't met”; its examples include order limits for new customers. Shopify's Help Center says: “Apps that support cart and checkout validations can let you enforce rules at checkout such as limiting the quantity of a product that customer can purchase”.

Shopify.dev says that, except as noted on individual API pages, stores on any plan can use public App Store apps that contain functions, while that Help Center page lists those apps from the Basic plan up. Both pages agree that only stores on a Shopify Plus plan can use custom apps that contain Shopify Function APIs. Check that an app supports your plan before you rely on it.

One App Store example is KOR Order Limits Quantity, whose listing advertises “Quantity limit per customer by day, month, year, lifetime”; on October 25, 2026 its listing showed a free plan, with “Shopify checkout rules” under the app's paid BASIC plan and “Limit orders per customer by duration” under its PRO plan.

Ask what the rule counts before you install

Shopify's own validation tutorial opens with sneakers sold “two pairs per customer”, yet its function checks that each cart line doesn't go above a set quantity: the current cart, not past orders. A second tutorial reads order history, to cap the order total for buyers with too little of it. Before you pick an app or brief a developer, ask which one the rule counts.

Can B2B quantity rules cap a buyer?

If you sell wholesale, B2B quantity rules can give a product in a catalog a minimum, a maximum or an increment. The maximum limits how much of a variant a customer can buy in one order, and each variant counts on its own: buyers can't combine 5 gray hats and 5 blue hats to meet a minimum of 10. You set the rules in the Catalogs section of the admin or by importing a CSV, as our B2B variants answer walks through.

Shopify B2B runs on the Basic, Grow, Advanced and Shopify Plus plans, not on Starter or Retail. Carts with B2B catalog products that have specific quantity rules, and customers logged in with a B2B profile, fall outside the add-to-cart limit, so set wholesale caps in the catalog.

About This Article

This page was written by AI. Separate AI agents that did not write it check its figures and claims against official sources and test its links and interactive tools. A human editor sets the site's editorial direction, topics and rules and checks that pages are complete and display correctly, but does not check their facts or edit their text. Details may change — always confirm critical data at shopify.com.

Editorial Policy

Related questions

Payments & payouts
Can you set a minimum order amount on Shopify without Plus?

Yes — since April 2026 Shopify's free Checkout Blocks app sets order value limits on Basic, Grow, Advanced and Plus.

Updated October 17, 2026

Orders & customers
Do Shopify B2B quantity rules count across a product's variants?

No — Shopify B2B catalog quantity rules count each variant separately, even when set for all variants of a product; mixed variants don't add up.

Updated October 4, 2026

Payments & payouts
How do you collect email and SMS signups on the Shopify Thank you page?

Not natively: turn on email and SMS opt-ins at checkout; on the Thank you page itself, an app like Klaviyo adds an SMS consent block.

Updated October 18, 2026

Stay updated

Get notified about new articles

Subscribe to receive updates when we publish new Shopify guides and insights.