Shopify Cart Limit App Guide (2026): Set Min & Max Order Rules at Checkout

Cart limits stop unprofitable, bulk and undeliverable orders before payment. Here is how to set minimum and maximum value, quantity, weight and address rules in Shopify, with recipes you can copy.

Shopify Cart Limit App Guide (2026): Set Min & Max Order Rules at Checkout

A cart limit is a rule that decides whether a shopper can go from cart to checkout. If the cart breaks the rule, checkout is blocked and the shopper sees a clear message telling them what to change.

Stores use cart limits for three main reasons: to protect margin on very small orders, to share limited stock fairly during drops, and to enforce wholesale minimums without running a second store. This guide covers the rule types, setup in Codify Cart Limits, ready-to-copy rule recipes, and what to test before you go live.

Quick answer

Shopify doesn't let you set a minimum or maximum order for regular shoppers out of the box. To add cart limits:

  1. Install a cart limit app such as Codify Cart Limits (free plan available).
  2. Start from a template, such as "minimum order value" or "max quantity per product".
  3. Add conditions: products, customer tags, country, ZIP code or PO Box.
  4. Write a clear message, for example "Minimum order is $25. Add $6.50 more."
  5. Test in Testing mode, then set the rule live.
Find Codify Cart Limits on the Shopify App Store

Cart limit rules you can set

Rule typeWhat it doesTypical use
Minimum / maximum cart valueBlocks checkout below or above a subtotalProtect margin; cap risky large orders
Minimum / maximum total quantityLimits total units in the cartWholesale minimums; anti-bulk buying
Min / max quantity per productLimits units of one productLimited drops; pack-size minimums
Weight limitBlocks carts over a weightStay within carrier rate tiers
Product or product tag ruleApplies the rule to selected productsRules for one collection or drop
Customer tag / logged-in onlyApplies the rule to tagged or signed-in customersWholesale tiers; members-only items
Shipping country / ZIP codeBlocks checkout for addresses you can't serveDelivery-area limits
PO Box blockBlocks PO Box shipping addressesCarriers that don't deliver to PO Boxes

Combine conditions with AND (all must match) or OR (any one matches), and add messages in every language your store uses.

Set up cart limits in 6 steps

  1. Install the app. Install Codify Cart Limits, ideally on a development or test theme first. The free plan includes up to 3 live rules; Off and Testing rules are unlimited.
  2. Start from a template. Pick a ready-made rule such as minimum order value or max quantity per product, then edit it.
  3. Add conditions. Combine cart value, quantity, products, customer tags and shipping address. Use AND when every condition must match, OR when any one should trigger the block.
  4. Write a specific message. Tell the shopper the exact fix, such as "Minimum order is $25. Add $6.50 more to continue." Avoid vague text like "Cart invalid".
  5. Choose where the message appears. Pick the checkout location and check it on desktop and mobile.
  6. Test, then go live. Keep the rule in Testing mode and place test orders as a guest, as a tagged wholesale customer and with a PO Box address. Set it live only when every path works.

Rule recipes you can copy

1. Minimum order value to protect margin

Rule: minimum cart value, for example $25, where packing and shipping make smaller orders lose money.

Message: Minimum order is $25. Add $6.50 more to check out.

Keep this separate from free shipping. A free-shipping threshold should encourage bigger carts, not block checkout.

2. Fair limits for a product drop

Rule: product tag equals drop-q4, maximum 2 units per product.

Add a second rule for maximum total units per order so buyers can't get around it with several SKUs.

3. Wholesale minimums on one store

Rule: customer tag equals wholesale, minimum 24 units in the cart.

Retail customers aren't affected. Use one tag per wholesale tier if each tier has its own minimum.

4. Block addresses you can't deliver to

Rule: block PO Boxes, and block countries or ZIP codes outside your delivery area.

Check carrier coverage first. Some carriers do deliver to PO Boxes.

5. Weight cap for carrier tiers

Rule: maximum cart weight, for example 20 kg, so orders stay within your carrier's rate band.

Show a message that suggests splitting the order.

What Shopify offers without an app

  • Regular shoppers: no built-in minimum or maximum order rules.
  • B2B buyers: Shopify B2B catalogs support quantity rules for wholesale customers, and core B2B features are now on all main plans. They don't apply to normal retail shoppers.
  • Shopify Plus: developers can build custom checkout validation with Shopify Functions.

For most stores, an app is the fastest way to add cart limits for every shopper without custom code.

Test these before going live

  • Express checkout: Shop Pay, Apple Pay, Google Pay
  • Cart drawer: message shows inside the drawer
  • Guest shoppers with customer tag rules
  • Mobile layout and readability
  • Every language your store uses
  • Re-test after theme or cart-drawer updates

Pricing: Free vs Pro

FreePro
Price$0$3.99/month, 7-day free trial
Live rulesUp to 3Up to 25
Off and Testing rulesUnlimitedUnlimited
All rule conditions and templatesYesYes
Multilingual messagesYesYes

Start on Free with your first rules. Upgrade when you need more than three live rules, usually when you add wholesale tiers or regional shipping limits.

Common mistakes

  • Using OR where you meant AND, which blocks far too many carts
  • Forgetting guest shoppers in customer tag rules
  • Vague messages that don't say the exact amount or quantity needed
  • Skipping express checkout tests
  • Blocking PO Boxes without checking carrier coverage
  • Leaving old Testing rules in place after launch
  • Not reviewing rules after a sale, price change or theme update

Want bigger carts instead of blocked ones? Pair limits with product bundles and see our CRO guide.

Add cart limits in minutes

Codify Cart Limits: min/max value, quantity, weight, product, customer and address rules, with multilingual messages. Free plan with 3 live rules.

Install Free

Frequently Asked Questions

Not for regular shoppers with Shopify's built-in settings. Use a cart limit app such as Codify Cart Limits to create a minimum cart value rule. Checkout stays blocked until the cart qualifies, and your message tells the shopper how much more to add.
Yes. Use a per-product rule for the maximum units of one product, and a cart-level rule for the total units in an order. Together they stop bulk buying during limited drops.
Yes. A shipping address rule can detect PO Box addresses and block checkout. Check that your carrier really can't deliver to PO Boxes before you block them.
Yes. Add a customer tag condition, such as wholesale, so the rule applies only to tagged customers. Retail shoppers aren't affected.
Codify Cart Limits validates at checkout, so product and collection pages are not affected. Test your cart drawer after installing to make sure messages show correctly.
Test it on your store. Express buttons such as Shop Pay, Apple Pay and Google Pay can skip the cart page, so confirm that checkout validation still blocks the order.
Yes. Codify Cart Limits has a free plan with up to 3 live rules and all rule conditions. The Pro plan is $3.99 per month for up to 25 live rules, with a 7-day free trial.
No. Rules are built in the app with templates, conditions and message fields. No theme code is needed.
Yes. Add a translated message for each language your store uses.

Ready to Build or Improve Your Shopify Store?

Work with a Shopify Plus tier Partner to build, fix and grow your Shopify store faster.