Skip to content
Maximum

Set Maximum Cart Quantity on Shopify

Limit total items per order to prevent bulk buying and protect inventory — Limit how many total items a customer can check out with. Protect inventory during flash sales, product launches, and high-demand periods. Enforced on every checkout path.

Cart-wide quantity cap Bulk-buying prevention High-demand protection Checkout enforcement
Rule configuration

Max 10 items in cart · Store-wide · All customers

Your Cart 1
Craft Beer Variety Pack

Craft Beer Variety Pack

Mixed selection

$215.88

Quantity
1
Subtotal $215.88

Limit exceeded

Maximum order is 10 items. Please remove 2 items from your cart.

Complete order

Why merchants need this

The challenge and how Nex MOQ solves it

The Problem

Without order limits

Your flash sale goes live and three customers fill 50-item carts before anyone else loads the page. Inventory vanishes, hundreds of customers bounce, and you oversell stock you can't fulfill.

Lost revenue, compliance risk, or unfair access
The Solution

With Nex MOQ

Cap the total number of items per order across your entire store. Checkout blocks any cart that exceeds the limit — on every payment method, including Shop Pay and Apple Pay.

Automated enforcement at checkout
Takes under 2 minutes

How to set it up

No code required. Just create a rule and activate it.

Nex Checkout validator
Home

Welcome to Nex Validator!

Your app extension is enabled and working.

0
Simple Order Limit

Set up basic min/max quantity or amount limits.

0
Advanced Rules

Create custom validations with conditions.

Nex Checkout validator
Unsaved

All validation messages will be shown only on the checkout page.

Max 10 items in cart · Store-wide · All customers
Enable/Disable Limit
Enabled
Cart Min Quantity

Set minimum quantity for cart

Cart Max Quantity

Set maximum quantity for cart

Cart Min Amount

Set minimum amount for cart

Cart Max Amount

Set maximum amount for cart

12

Enter the maximum quantity for the cart

Error Message
Use custom message
Maximum order is 10 items. Please remove 2 items from your cart.
Cart 1
Craft Beer Variety Pack
Craft Beer Variety Pack

Mixed selection

12
$215.88

Maximum order is 10 items. Please remove 2 items from your cart.

Screenshots are for illustration purposes. Actual app interface may vary slightly.

Try it now — free for 7 days

No credit card required · Works on all Shopify plans

When to use Maximum Cart Quantity

Common scenarios merchants solve with this feature

Flash sale protection

Spread inventory across more customers instead of letting a few clear your sale

Regulated products

Comply with purchase-quantity regulations on restricted or controlled goods

Event ticketing

Limit ticket purchases per order so more fans can attend

Frequently asked questions

Common questions about maximum cart quantity

Does this limit apply to the total cart or per product?

The total cart. It counts all items together. For per-product limits, use Maximum Order Quantity instead.

Can I set different limits for different customer groups?

Yes. Use customer tag conditions to give wholesale customers a higher cap while keeping retail customers lower.

What happens if someone tries to add more items?

Items can be added to the cart, but checkout is blocked with a message telling the customer to reduce their quantity.

Ready to enforce order limits?

Start your free trial. No code required. Works on all Shopify plans.

Plans from $9.99/month after free trial · Free for dev stores