Set a Maximum Order Value or Item Limit on Shopify Checkout
A cap on order value or items per order keeps resellers out of limited drops, limits how much one fraudulent order can cost you, and routes large buyers to the right channel. Here is how to set one up on Shopify checkout.

Most order rules on Shopify push customers to buy more. A maximum order limit does the opposite, and there are good reasons to want one. A single $4,000 order on a store that usually sees $80 baskets is either a great customer or a stolen card. A cart with 40 units of a sneaker you released that morning is almost certainly a reseller.
Shopify's free Checkout Blocks app can now set one store-wide maximum subtotal on every plan (see "Shopify's built-in option" below), but it can't vary the cap by product, customer or country, and it doesn't count items. This tutorial covers when a cap makes sense, the two kinds of limits (value and item count), how to enforce them at checkout so they can't be skipped, and how to word the message so legitimate big buyers still reach you.
Why stores cap order size
A maximum limit is a business rule. It usually comes from one of four situations.
Reseller control
On a limited release, the people who want 20 units are rarely fans. A cap on items per order, or on a specific product, spreads stock across more customers. If you only need a per-product cap, our guide to limiting order quantity per product goes deeper on that version.
Capping fraud exposure
A fraudster with a working card wants to spend as much as possible before the card is cancelled. Large orders are where one chargeback hurts most, because you lose the goods, the revenue and the dispute fee in one go. A value cap won't stop fraud, but it limits the damage from any single order and pushes the biggest orders into a channel where a person looks at them first.
Limited drops and launches
During a drop, bots and scripted checkouts try to fill carts in seconds. Order limits are one layer of defense among several. Our post on stopping scalper bots on limited drops covers the queue and rate-limit side.
Operational limits
Some orders are simply too big to ship the normal way. Oversized freight, stock you hold in small quantities, or a fulfillment partner with a per-parcel weight limit can all justify sending large orders to a quote process.
Value limits vs item limits
The two kinds of cap solve different problems, and many stores use both.
| Limit type | What it checks | Best for |
|---|---|---|
| Maximum order value | Cart subtotal (before or after discounts) | Fraud exposure, manual review of big orders, payment method limits |
| Maximum items per order | Total quantity of all line items | Drops, reseller control, shipping box limits |
| Maximum per product | Quantity of one product or variant | Scarce SKUs, one-per-customer launches |
| Maximum distinct products | Number of different line items | Sample programs, free trial boxes |
A value cap alone can be gamed on cheap products, and an item cap alone does nothing about a single expensive item. Pick the one that matches the risk you are actually worried about.
Shopify's built-in option
Checkout Blocks, Shopify's own free checkout app, includes order value limits: a minimum and/or maximum subtotal enforced with Shopify Functions. Shopify's changelog says the feature moved from Plus-only to all plans in April 2026. The limit applies to all customers or only to B2B companies, it counts the subtotal before gift cards and store credit, and it is converted for other currencies (Shopify Help Center).
That is enough for one simple store-wide cap. Use a rule-based app when you need different caps for different situations: a lower limit for guest checkouts or certain countries, a cap only on limited-drop products, a maximum number of items, or an exception for tagged wholesale customers.
Why cart scripts aren't enough
A theme script that disables the checkout button above a limit is a polite warning. It isn't enforcement. Express checkout buttons on product pages, buy-now buttons, direct checkout links and cart permalinks all reach checkout without passing through the cart page. Resellers and bots go straight to those routes.
A Cart and Checkout Validation function runs on Shopify's servers inside checkout, so it sees every order no matter how the buyer arrived. When the cart breaks your rule, checkout shows your error message and won't complete the order. Public apps that use validation functions work on all Shopify plans, so you don't need Plus for this.
Choosing the limit
Start from your own order data, not a round number.
- Export orders from the last 6 to 12 months and look at the spread of order values and item counts.
- Find the point above which orders are rare. If 99% of your orders have fewer than 6 items, a cap of 10 will barely touch real customers.
- Check what those rare large orders were. Were they wholesale buyers, gifts, office orders, or chargebacks?
- Set the cap above normal behavior and below the orders that caused trouble.
- Decide where large legitimate buyers should go instead: a quote form, a sales email, or a wholesale account.
For example, a store with a typical basket of $70 might set a $1,500 maximum for guest checkouts, with a message pointing to the sales team. The exact number depends on your products and your history.
B2C vs wholesale
A cap that suits retail shoppers will block your best trade customers. Handle that with conditions, not exceptions made by hand.
- Apply the retail cap only to customers without a
wholesaleorb2btag. - Give tagged trade customers a higher cap, or none.
- If you use Shopify's B2B features, company customers may already have their own quantity rules. Check those before adding a store-wide one so the two don't conflict.
The same logic works in reverse. Some wholesale stores set a minimum and a maximum for trade orders, with a minimum order value to keep orders worth fulfilling and a ceiling that sends very large orders to an account manager.
Rule examples
Each example below is a condition and the message the customer sees.
- Store-wide value cap. Condition: subtotal is greater than $2,000. Message: "Orders over $2,000 need a quick review. Email [email protected] and we'll set it up for you."
- Drop item cap. Condition: product tag contains
dropand total cart quantity is greater than 2. Message: "Limited release items are capped at 2 per order so more people get a chance." - Guest checkout cap. Condition: customer is not logged in and subtotal is greater than $800. Message: "For orders over $800, please sign in or create an account first."
- Retail vs trade. Condition: customer tag does not contain
wholesaleand total quantity is greater than 25. Message: "Buying for a business? Apply for a wholesale account for larger orders." - Market-specific cap. Condition: shipping country is outside your home market and subtotal is greater than $1,000. Message: "International orders over $1,000 are handled by our team. Contact us for a shipping quote."
Keep the message specific. State the limit, explain briefly why, and give the next step.
Pitfalls to test
Split orders. A cap per order doesn't stop someone placing three orders. Pair it with per-customer checks, velocity monitoring or a quantity limit per product for real scarcity.
Discounts and currency. Decide whether the cap applies before or after discounts. On a multi-currency store, set the threshold per market where you can, because $2,000 converted into another currency can land on an awkward number.
Gift cards. Large gift card purchases are a known fraud pattern. Consider a separate, lower cap on gift card products.
Staff and test orders. Give your team a tag that bypasses the rule so internal and replacement orders don't get blocked.
Bundles. If a bundle counts as several line items, an item cap can trip on a single bundle purchase. Test your bundle products specifically.
Before going live, test carts just below and just above each limit, through the cart page, an express button on a product page, and a direct checkout link.
Doing it with Blockly Checkout Customizer
Blockly Checkout Customizer is live and free on the Shopify App Store. Its validation templates include order value and order quantity rules, and you can combine them with customer tags, product tags, country and cart total in a custom rule. Set the limit, write the message, and save. Rules run as Shopify Functions, so they apply to express checkout buttons and direct checkout links as well as the normal cart flow, and they work on every Shopify plan through the app.
If you want to explain the limit before customers reach the error, a checkout banner can do that. Banners on the information, shipping and payment steps need Shopify Plus. The rule itself does not.
The takeaway
A maximum order limit protects you from the orders that cost the most when they go wrong: reseller sweeps, large fraudulent purchases and orders you can't ship normally. Use your own order history to set the number, choose between value and item limits based on the risk, give wholesale buyers their own rules, and always tell blocked customers where to go next. Enforce it at checkout, because cart-page scripts are skipped by exactly the buyers you're trying to stop.
Frequently asked questions
Does Shopify have a built-in maximum order value?
Yes, partly. Shopify's free Checkout Blocks app can set one minimum and/or maximum subtotal, and Shopify's changelog says it works on all plans since April 2026. It can't set different caps by product, customer or country, and it can't limit item counts, so those need a validation rule from an app or a custom function.
Do I need Shopify Plus to set a maximum order limit?
No. Validation rules built on Shopify Functions work on all plans when they come from a public App Store app. Plus is only needed if you build the function in a custom app yourself, or if you want UI components such as banners on the main checkout steps.
Will a maximum order limit stop resellers completely?
Not on its own. A determined reseller can place several orders or use several accounts. An order limit raises the effort, and works best alongside per-product caps, bot protection and order review for repeat addresses.
Should the limit apply before or after discounts?
Either works, as long as you decide upfront and test it. Most stores use the subtotal after discounts for value caps, since that reflects what is actually being charged.
Related articles

Stopping Scalper Bots on Limited Drops

How to Stop Inventory Hoarding Bots on Shopify

