Shopify Add-to-Cart Limit: How to Control Cart Quantities

Illustration of a product page with the quantity selector stopped at 50 and a MAX label, next to a stock shelf tagged In stock 12 and a padlock

Shopify has a store-wide setting that caps how many units of any one item a customer can put in an online store cart. It's called the add-to-cart limit, it's on by default, and most merchants have never looked at it. It was added in April 2025 to solve a quiet problem: when a customer asked for more units than you had, the cart would adjust to your exact stock level, and anyone curious could learn how much inventory you were holding.

This guide explains what the limit does, how to change it, what it doesn't cover, and how it fits with inventory tracking and Shopify's other quantity controls.

The short answer

  • What it is: a maximum number of units per variant per cart, for online store carts.
  • Where it lives: Settings → Checkout → Advanced preferences → Add-to-cart limit.
  • The default: Shopify sets it for you. Stores with more than 250 sales get a limit based on their order history plus a buffer; newer stores get 50.
  • What it's for: keeping your real stock count private, and stopping absurd quantities. It's not a per-customer purchase limit for drops or wholesale.

What the add-to-cart limit does

The limit applies to each variant on its own, not to the product or the cart as a whole. With a limit of 50, a customer can add 50 of the medium and 50 of the large, but not 51 of either.

Before the limit existed, the easiest way to find out a store's stock was to type a big number into the quantity box. If you had 37 left, the cart quietly settled on 37. Shopify's own developer docs still describe that behavior for the cart: when someone asks for more than is available, the cart adds what's available and returns an error. The add-to-cart limit sits in front of that, so a request for 9,999 stops at your limit instead of at your stock level. Competitors, resellers and bots learn much less.

Because Shopify sets the starting value from your own order history, the limit is normally well above anything a real customer orders. You only need to change it if your business has unusually large orders, or if you want a lower ceiling.

How to change or turn off the limit

Mockup of the Add-to-cart limit setting in Shopify admin under Settings, Checkout, Advanced preferences, with the checkbox turned on and a Limit of 50 Settings CHECKOUT Advanced preferences Add-to-cart limit Set a maximum quantity per item that can be added to a cart Limit 50 Save
The Add-to-cart limit setting. Illustration based on Shopify's help documentation.
  1. In your Shopify admin, go to Settings → Checkout.
  2. Scroll to Advanced preferences and find Add-to-cart limit.
  3. Make sure Set a maximum quantity per item that can be added to a cart is checked.
  4. Enter a whole number in Limit.
  5. Click Save.

To remove the limit, uncheck the box and save. We'd leave it on. It costs nothing and it protects information you'd rather keep.

Worth knowingShopify updates its recommended limit from time to time as your sales history grows. If you set your own number, check it once a year, especially after you add bulk or trade products.

What the limit doesn't cover

The add-to-cart limit only applies to online store carts, and even there it skips some items. It doesn't apply to:

  • Shopify POS sales in your shop;
  • draft orders you create in the admin;
  • B2B catalogs that have their own quantity rules, and B2B customer profiles;
  • variants whose inventory isn't tracked;
  • variants set to Continue selling when out of stock.

So if you sell preorders with "continue selling" switched on, the limit won't stop someone ordering 500. That's a case for a real quantity rule (see below).

How inventory quantity and inventory policy decide what can be bought

The limit is one of three things that decide how many units end up in a cart:

Three things decide how many units of a variant a customer can add to an online store cart: inventory tracking and the out-of-stock setting, the add-to-cart limit, and available stock HOW MANY CAN THEY ADD? 1 Tracking and policy The limit is skipped for items that aren't tracked, and for items set to Continue selling when out of stock. 2 Add-to-cart limit A store-wide maximum per variant, so a big order doesn't reveal your stock count. 50 3 Available stock What's left to sell at locations that fulfill online orders: ON HAND − COMMITTED − UNAVAILABLE The cart gets what passes all three
Tracking and the out-of-stock setting come first, then the add-to-cart limit, then available stock.

Inventory tracking

Each variant has an Inventory tracked setting in the Inventory section of the product page. If it's off, Shopify doesn't count stock for that variant and customers can buy any amount.

The inventory policy: continue selling or stop

What developers call the "inventory policy" is the Continue selling when out of stock checkbox. You can only choose it when inventory is tracked. By default it's off, which means that once a variant reaches zero, customers can't buy it until you add stock. Switch it on for preorders, stock that's on its way, or made-to-order products. It doesn't apply to POS, where staff can sell below zero after a warning.

Available quantity

Shopify splits inventory into states. On hand is everything physically at a location. Part of that is Committed (in unfulfilled orders, draft orders, or transfers ready to ship) and part may be Unavailable (damaged, in quality control, held as safety stock). What's left is Available, and that's what online customers can buy. Incoming stock isn't available until it arrives.

Locations matter too. If the only location with stock doesn't fulfill online orders, the item still shows as out of stock online.

Limiting order quantities: built-in options vs an app

People searching for "shopify limit order quantity" usually want something the add-to-cart limit can't do: a different cap per product, a minimum, or packs of six. Here's what's available:

Add-to-cart limit B2B quantity rules Order Limits (our app)
Who it applies to All online store carts B2B buyers on a catalog Retail customers; rules can target customer tags
Different limit per product No, one number for the store Yes, per variant in the catalog Yes, per product or variant
Minimum quantity No Yes Yes
Multiples (packs of 6) No Yes Yes
Cart-wide minimum or maximum No No Yes: items, order value, weight
Plans All All plans since April 2026; more on Plus Free plan with up to 5 rules

If you only sell wholesale, start with Shopify's B2B quantity rules: they're built in, and since April 2026 Basic, Grow and Advanced plans include them. For limits on your regular storefront, like two per customer for a limited release, a minimum of three candles, or flour sold in cases of five, you need an app.

That's why we built Order Limits. You set a minimum, maximum and step for any product or variant, and the quantity selector on the product page only offers valid amounts. There are also cart limits by item count, order value and weight, collection limits, and rules for customer tags. Shopify checks the rules again at checkout, so editing the cart URL doesn't get around them. It's free for up to five rules; see it on the Shopify App Store. Our guide to minimum and maximum order quantities walks through the setup.

Choosing a sensible limit

  • Look at your largest normal orders. Check your biggest single-line quantities over the last year. Set the limit comfortably above them so a genuine bulk buyer isn't blocked.
  • Don't use it for drops. A store-wide limit of 2 would stop someone buying 3 pairs of socks. For a product drop, put a per-product rule on the drop items only.
  • Send big buyers somewhere. If trade customers order more than your limit, give them a draft order or a B2B catalog, which the limit doesn't apply to.
  • Keep counts accurate. The limit protects your stock numbers, so make sure they're right. Inventory adjustment history shows who changed what.

Troubleshooting

  1. A customer can't add as many as they want. Check the add-to-cart limit first, then available stock at locations that fulfill online orders.
  2. Someone ordered far more than the limit. Check whether the variant is untracked or set to continue selling, whether it was a draft or POS order, or whether they bought several variants of the same product. The limit counts each variant separately.
  3. The cart accepted more than was in stock. Shopify's cart update endpoint doesn't re-check stock for items that are already in the cart, so themes can let the number go up on the cart page. The final stock check happens at checkout.
  4. A product shows as sold out but you have stock. The stock is probably at a location that doesn't fulfill online orders, or it's marked Unavailable or Committed.

Common questions

What is Shopify's add-to-cart limit?

A store-wide maximum number of units of each variant that a customer can add to an online store cart. Shopify switches it on for you and sets the starting number from your order history, or 50 for stores with fewer than 250 sales.

Can I set a different limit for each product?

Not with the add-to-cart limit; it's one number for the whole store. Per-product limits need B2B quantity rules (for wholesale buyers) or an app like Order Limits.

Does the limit apply per order or per customer?

Per variant in a cart. A customer could place a second order, and different variants of the same product each get their own limit.

What does "inventory policy" mean in Shopify?

It's whether a variant keeps selling at zero stock. In the admin it's the Continue selling when out of stock checkbox in the product's Inventory section.

Does the add-to-cart limit affect POS or draft orders?

No. It only applies to online store carts. POS, draft orders and B2B catalogs with quantity rules are excluded.

Should I turn the limit off?

Rarely. It only gets in the way if genuine customers regularly order more than the limit, and in that case raising it is better than turning it off.