Quantity Discount by Category
Take a percent off items from one category once the cart has enough of them, for example 5% off 5 or more.
A quantity discount by category takes a percent off when a customer buys enough items from a category. This example gives 5% off once the cart has 5 or more items from one category, on up to 9 units of each item.
Step 1 - Discount Information
In the Zoey Admin, go to Promotions > Discount Rules and click Create a Discount Rule. Discount Rules can require a coupon code or apply automatically, and can be limited to certain Customer Groups or Accounts. See Discount Rules for every field.

Step 2 - Conditions
Add Products subselection: total quantity equals or greater than 5, for a sub-selection of items matching Category is your category (for example "X").
Step 3 - Actions

| Field | Set it to |
|---|---|
| Discount Type | Percent of product price discount |
| Discount Amount | The percent off, for example 5. |
| Maximum Qty Discount is Applied To | 9 to stop at 9 units per cart line. Leave empty for no maximum. For a bigger discount on 10 and up, create a second rule. |
| Discount Qty Step (Buy X) | Leave empty. |
| Apply to Shipping Amount | Leave this set to No. |
| Stop Further Rules Processing | Yes: Discount Rules with a higher Priority number won't apply to the items this rule discounts. See How discounts stack. |
| Free Shipping | Leave at No unless the offer also ships free. |
Under Apply the rule only to cart items matching the following conditions, add Category is the same category, so only those items are discounted.
Categories and variationsA parent category doesn't include its subcategories. Configurable variations (child products) need the category too.
Discount Qty Step (Buy X)
What it does depends on Discount Type.
Buy X get Y free
- Qty Step is X: the units the customer pays for.
- Discount Amount is Y: the units they get free.
- Both must be the same SKU on the same cart line.
- The customer needs X + Y units in the cart to get Y free.
- Example, "buy 2, get 1 free": Qty Step 2, Discount Amount 1. 3 in cart = 1 free. 5 in cart = 1 free. 6 in cart = 2 free.
- Y can't be larger than X. "Buy 1, get 2 free" gives nothing.
Percent or fixed amount per item
- Only full steps get the discount. The discounted quantity is rounded down to a multiple of the step.
- Example, 10% off with Qty Step 5: 4 in cart = no discount. 5 = 5 discounted. 7 = 5 discounted. 12 = 10 discounted.
- Want "10% off every unit once they buy 5"? Leave Qty Step empty and use a Products subselection condition (total quantity equals or greater than 5) instead.
Other discount types: leave Qty Step empty.
Maximum Qty Discount is Applied To caps the units per cart line before the step is applied. On Buy X get Y it counts paid and free units. "Buy 2 get 1, once per order": Max Qty 3.
Related articles
Updated 11 days ago
