Quantity limits

### How Shopify product and combined quantity limits work

Compare product, variant, individual and combined quantity limits. Choose the right entry, understand checkout minimums and check overlapping rules.

Quantity limits set a minimum, a maximum, or both. Edit a product or variant directly, or create rules for all products, selected products or collections.

### Navigate to header: Video tutorial Video tutorial

[Video: How to configure quantity limit rules](https://www.youtube.com/watch?v=OfCOhRhiC8w)

Watch the quantity limits configuration video on YouTube

### Navigate to header: Choose the right entry point Choose the right entry point

| Entry point | Use it for | Required switch |
| --- | --- | --- |
| Quantity limits by product | Individual product and variant thresholds | Enable product quantity limits |
| All quantity rules | Product ranges and calculation methods | Enable quantity rules |
| Customer tag quantity rules | Different customer-group allowances | Enable quantity rules |
| Cumulative purchase rules | Restricting repeat purchases | Enable quantity rules |

Also enable

the

数量规则

switch

on the quantity overview page.

### Navigate to header: Product versus variant Product versus variant

A product-level limit combines its variants. One small and two medium shirts of the same product count as 3 units.

A variant-level limit checks that variant separately. If the medium variant has a maximum of 1, two mediums are blocked even if the product has remaining allowance.

In

Quantity limits by product

, search for a product and edit its status, minimum and maximum. Expand variants to set their own thresholds. Confirm changes have saved, then test the storefront.

### Navigate to header: Individual versus combined Individual versus combined

| Calculation | With a maximum of 3 |
| --- | --- |
| Limit each applicable item individually | Product A can have 3 units and product B can also have 3; variants of one product are combined |
| Limit the combined cart quantity of applicable items | A × 1 plus B × 2 uses the shared allowance |

### Navigate to header: Minimums and timing Minimums and timing

Leave the minimum blank or set it to

0

for no minimum. Fill at least one of the minimum or maximum fields.

Quantity minimums are checked at checkout so customers can add items one at a time. Maximums follow the rule’s selected timing.

A minimum is not a purchase multiple. A minimum of 6 also permits 7 units. There is no quantity-step setting in the current rule editor.

### Navigate to header: When rules overlap When rules overlap

Individual quantity rules use the first matching rule in

All rules

. Product-level limits, variant limits, combined rules and cumulative rules have different combination behavior. Read

rule priority

.

Try

a 2-unit product cap

or

a 3-unit collection cap

.

### Navigate to header: Set a color or size limit Set a color or size limit

For “product maximum 3, variant A maximum 1,” follow

product and variant setup

. For one allowance across different products, use combined rules rather than identical product-row caps.

[Watch the quantity limits configuration video on YouTube](https://youtu.be/OfCOhRhiC8w)

[rule priority](https://order-limit.xrtotech.com/en/settings/rule-priority)

[a 2-unit product cap](https://order-limit.xrtotech.com/en/scenarios/limited-release)

[a 3-unit collection cap](https://order-limit.xrtotech.com/en/scenarios/mix-and-match)

[product and variant setup](https://order-limit.xrtotech.com/en/features/product-variant-limits)

[Navigate to header: Video tutorial](https://order-limit.xrtotech.com/en/features/quantity#video-tutorial)

[Navigate to header: Choose the right entry point](https://order-limit.xrtotech.com/en/features/quantity#choose-the-right-entry-point)

[Navigate to header: Product versus variant](https://order-limit.xrtotech.com/en/features/quantity#product-versus-variant)

[Navigate to header: Individual versus combined](https://order-limit.xrtotech.com/en/features/quantity#individual-versus-combined)

[Navigate to header: Minimums and timing](https://order-limit.xrtotech.com/en/features/quantity#minimums-and-timing)

[Navigate to header: When rules overlap](https://order-limit.xrtotech.com/en/features/quantity#when-rules-overlap)

[Navigate to header: Set a color or size limit](https://order-limit.xrtotech.com/en/features/quantity#set-a-color-or-size-limit)