Discount function · Plan: Basic
How do I set up quantity breaks like buy 3 get 10% off, buy 6 get 20% off on Shopify?
Create one discount function with a rule per tier: a line quantity condition and a percentage or fixed amount off. Shopify's checkout applies the highest matching tier automatically. Works on every Shopify plan.
- Function typeDiscount
- Plan neededBasic
- Shopify PlusNot required
- TemplateShips in the app as "Volume discount"
- Updated
What the shopper sees
The shopper adds three of a product and sees 10% off that line in the cart and at checkout. At six units the line shows 20% off instead. No discount code, no banner, no separate “bundle” product. If the quantity drops back to two, the discount disappears.
How the rule is built
Start from the Volume discount template. It creates a product discount rule with a condition line quantity ≥ 3 and a value of 10%. Duplicate the rule for each tier and change the threshold and value.
| Tier | Condition | Value |
|---|---|---|
| 1 | Line quantity ≥ 3 | 10% off |
| 2 | Line quantity ≥ 6 | 20% off |
| 3 | Line quantity ≥ 12 | 30% off |
Rules are evaluated top to bottom and the best applicable value wins for a line, so a quantity of eight gets 20%, not 10% plus 20%.
Variations
- Limit it to some products. Add a condition on collection membership, product tags, or a list of product or variant ids to any tier.
- Count across variants. Use the aggregate conditions (quantity sum per product, per collection, or per tag) instead of line quantity when sizes and colors sit on separate cart lines but should count together.
- Fixed amount instead of percent. Set the value type to a fixed amount off per line.
- Fixed unit price at volume. Use the fixed price per unit value type, for example “4.50 each from 10 units”.
Limits to know
- Up to ten rules per function, so up to ten tiers in one function.
- A product discount combines with order and shipping discounts according to the combines-with settings you choose, the same model as native Shopify discounts.
- Shopify shows the discount in cart and checkout, but your theme decides whether a quantity-break table appears on the product page. The app does not inject storefront UI.