On this page
What this issue is
A max quantity limit caps how many units of a product one customer can put in a cart or order. Limits are useful for scarce stock, sale items and fraud control. The issue appears when the cap is too low for normal orders, was left over from an old campaign, or is applied to the wrong product or variant.
The result is an error such as "maximum quantity exceeded", a quantity that quietly resets to a lower number, or a disabled plus button. Buyers who wanted 6 and get 2 often leave rather than split the order.
Why it costs you leads or sales
Customers who buy in multiples are often your best ones: gifts, refills, team orders, small businesses. A limit that blocks them loses the largest orders first. The impact is usually low across a whole store, because only some products and buyers are affected, but it is easy to miss because nothing looks broken on a normal test order of one unit.
- Ad or search clickBuyer lands on the product page
- Set quantity to 6Limit of 2 shows an error or resets the number
- CartSmaller order or empty cart
- CheckoutNever reached for the full order
The buyer reaches the product page fine, then hits the limit when they raise the quantity.
Example: with a cap of 2 units at $20 each, larger orders are cut down or lost. Numbers are illustrative.
How to check if your site has it
Pick your top products
Start with best sellers, ad landing products and anything sold as refills or sets.
Try realistic quantities
On the product page enter 2, 5, 10 and 25. Note any error, reset or disabled button.
Test the cart page
Change the quantity in the cart as well. Limits are sometimes enforced only there.
Test each variant
Limits can be set per variant, so check different sizes and colours.
Test as a guest and logged in
Some rules apply to customer groups or wholesale accounts only.
Compare with real orders
Look at past orders for typical quantities. If customers never order above 2, the limit may already be hiding demand.
How to fix it
First decide whether the limit should exist. If it protects limited stock or a promotion, set it to a number that matches real demand. If it is left over, remove it. Then change it where it is set. The location depends on your platform.
Check the product
In WooCommerce open the product, then Inventory. If you sell individually, 'Limit purchases to 1 item per order' is ticked. Untick it.
Check plugins
Look at any min/max quantity plugin or extension and its per-product and per-category rules. Raise or clear the maximum.
Check theme code
Search your theme or snippets for the woocommerce_quantity_input_max filter, which can cap the field.
Check apps
Shopify has no built-in maximum per product, so look in installed apps for quantity limit or order limit rules and edit them.
Check the theme
In Online Store, Themes, Edit code, search for max= in the product form and cart files and remove or raise it.
Check Markets and B2B
If you use catalogs or B2B, review any quantity rules set on the catalog price list.
Look for injected scripts
Open your container and review Custom HTML tags that change the quantity input. A tag can set a max attribute. Edit or pause it and publish.
Check the quantity input
In Designer, select the quantity field on the product template. Remove custom max attributes under Settings, and check custom code in Page settings.
Check product settings
In Wix Stores open the product and review inventory and quantity options. Also check any Velo code that limits the quantity field.
Check stock settings
Open the product's variant stock. The available quantity itself acts as the limit, so raise it if it is set too low. Also check code injection for scripts that cap quantity.
Find the limit
Search for a max attribute on the quantity input and for server-side checks on quantity. Both the front end and the server may enforce it.
Keep both in step
Change the value in both places so the page does not allow a number the server then rejects.
<input type="number" name="quantity" value="1" min="1" max="99">How to confirm it's fixed
- Enter 2, 5, 10 and 25 on the product page and see them accepted
- Change the quantity in the cart and see it saved
- Reach checkout with the larger quantity and see the right total
- Test one variant of each affected product
- Test on mobile as well as desktop
- Clear the cache so old theme files are not served
How to prevent it happening again
Before
- Limit set once for a sale and forgotten
- Error message gives no reason
- Only quantity 1 is ever tested
After
- Limits have an owner and an end date
- Message explains the cap
- Release checklist includes quantity 5 and 10
Write down every limit you set and why. When a campaign ends, remove its limits. After theme updates or new quantity apps, repeat the quantity test on your top products.
How FunnelGuard handles this
FunnelGuard does not check this yet. Probing different quantities is a possible future check. Today it runs your real customer journeys, such as add to cart, checkout and lead forms, on a schedule from the EU or the US, and checks each step and the tracking hits. If a limit breaks the basic journey (for example the add to cart step fails), that failure is visible in the journey. A cap that only appears at higher quantities is outside what it tests.
To watch for it yourself, add a quantity of 5 to your monthly manual test of top products, review support emails for 'maximum quantity' wording, and check order data for a sudden drop in multi-unit orders. A free read-only website audit from FunnelGuard is also available, and the Free plan covers 1 site and 2 journeys with daily checks.
Questions people ask
Why can't customers add more than 1 or 2 of a product to the cart?
A maximum quantity rule is probably set. Check the product's inventory settings, any quantity limit app or plugin, and your theme code for a max attribute or filter. Stock levels can also act as a cap if the available quantity is very low.
How do I remove a maximum order quantity in WooCommerce?
Open the product, go to Inventory and untick 'Limit purchases to 1 item per order'. Then check any min/max quantity plugin and the woocommerce_quantity_input_max filter in your theme or snippets.
Does Shopify have a maximum quantity per product?
Not as a standard product setting. Limits usually come from an installed app, custom theme code, or B2B catalog quantity rules. Check those places if customers are blocked.
Why does the cart reset my quantity to a lower number?
The store is enforcing a cap or the stock count is lower than what you asked for. The page script or server trims the number without a clear message. Raise the limit or show the reason.
Is a max quantity limit ever a good idea?
Yes, for limited stock, launches or reducing reseller abuse. Set it to a realistic number, show it on the product page and give it an end date so it doesn't linger.
How do I test quantity limits on my store?
Enter quantities like 2, 5, 10 and 25 on the product page and in the cart, for several variants, as a guest and logged in. Note any error or reset and follow it through to checkout.
Does FunnelGuard detect max quantity limits?
No, not yet. It is a possible future check. FunnelGuard does run your add to cart and checkout journeys on a schedule, so a limit that breaks the basic journey would show up as a failing step.
Related issues
- CNV-144Quantity selector accepts 0 or negativeFix guide
- CNV-136Add to cart does nothingFix guide
- CNV-140Product shows in stock but checkout says unavailableFix guide
- CNV-138Variant combination unavailable but still sellableFix guide
- CNV-141Price on page differs from cart/checkoutFix guide
- CNV-135Add to cart button missingFix guide