In product quantity rules, you specify the eligible items and the unit for counting quantity, and set the minimum quantity, maximum quantity, and increment. You can also set the message shown on the product page and the alert message shown when the limit is violated.
Item | Setting |
|---|---|
Title | An admin-only name used to identify the rule |
Limit details | Minimum quantity, maximum quantity, increment, applicability |
Eligible items | All products, Collections, Products, Product tags |
Product message | A message on the product page that explains the purchase condition |
Alert message | A message shown when the limit is violated |
Status | Whether the product quantity rule is enabled or disabled |
Title is a required admin-only name. Enter a name that is easy to identify in the list of product quantity rules. It is not shown to customers.
Set the quantity that can be purchased and the unit used to count the quantity.
Item | Details |
|---|---|
Minimum quantity | The minimum quantity that can be purchased. Required |
Maximum quantity | The maximum quantity that can be purchased. Optional |
Increment | A setting that only allows purchases in multiples of the specified number. Optional |
Applicability | Whether quantity is counted by variant, product, or cart |
Note: Set the maximum quantity to be greater than or equal to the minimum quantity. If you set an increment, make sure the minimum and maximum quantities are multiples of the increment.
If you set the increment to 3, purchases are only allowed when the counted quantity is a multiple of 3, such as 3, 6, or 9. If you also set the minimum quantity to 3, customers can purchase starting from at least 1 set.
Value | Counting unit |
|---|---|
Variant | Counted per variant |
Product | Combines the eligible variants of the same product |
Cart | Combines all eligible products and variants in the cart |
Select the scope of products to apply the product quantity rule to.
Value | Eligible items |
|---|---|
All items | All products in the store |
Specific collections | Specified collections. Up to 50 |
Specific products | Specified products or variants. Up to 50 |
Products with specific tags | Products with any of the specified tags. Up to 50, OR condition |
If a collection includes only some of a product's variants, the quantity limit is evaluated only for the variants included in the collection. However, the product message and quantity picker control may be shown and reflected for all variants that belong to that product.
Variant | Quantity limit of maximum 2 | Product message and quantity picker |
|---|---|---|
S, included in the collection | Applied | Shown and reflected |
M and L, not included in the collection | Not applied | Shown and reflected |
You can display a message that explains the purchase condition above or below the Add to cart button on the product page. If left blank, the product message is not shown.
Prerequisite: To display the product message, enable the app embed on the target theme. If you only want to limit quantity at checkout, the app embed is not required.
Variable | Replaced with |
|---|---|
{{minQuantity}} | Minimum quantity |
{{maxQuantity}} | Maximum quantity |
{{increment}} | Increment |
This is the message shown when the quantity limit is violated. Where it is displayed depends on the Shopify theme you are using.
Value | When it's evaluated |
|---|---|
Cart updated and checkout | When the cart is updated and at checkout |
Checkout only | Checkout |
Variable | Replaced with |
|---|---|
{{minQuantity}} | Minimum quantity |
{{maxQuantity}} | Maximum quantity |
{{increment}} | Increment |
A product quantity rule you create is not applied to the store until you enable it.
Value | Behavior |
|---|---|
Enabled | Apply the product quantity rule |
Disabled | Do not apply the product quantity rule |