# How Shopify discount combinations work

Every Shopify discount is a product discount, an order discount or a shipping discount. On each discount you choose which of those kinds it can combine with, and two separate discounts apply together only when both of them allow it. When they do, each item still gets one product discount (the one that saves the most), several order discounts can add up, and only one shipping discount applies per order. [OneCode: Stackable Discounts](https://apps.shopify.com/rm-combo-discounts) follows the same rules in its **Combinations** card, and it also lets you put a product, order and shipping discount inside one discount, where they always apply together without any combination settings.

## The three kinds of discount

| Kind | What it takes money off | When several are allowed to combine |
| --- | --- | --- |
| Product discounts | Individual items | Multiple can apply per order · One per product (best value wins) |
| Order discounts | The order subtotal, after product discounts | Multiple can apply per order |
| Shipping discounts | Shipping rates | Only one can apply per order (best value wins) |

The right-hand column is the wording OneCode shows next to each option, and it follows Shopify's own combination rules. Here it is on a OneCode discount:

![The Combinations card in OneCode: "This discount can be combined with the following discounts in the customer's cart", listing Product discounts (Multiple can apply per order · One per product (best value wins)), Order discounts (Multiple can apply per order) and Shipping discounts (Only one can apply per order (best value wins))](/images/combinations.png)

## Both discounts have to agree

Shopify [combines two discounts](https://help.shopify.com/en/manual/discounts/discount-combinations) only when each one allows the other's kind:

- On the first discount, tick the kind the second discount is.
- On the second discount, tick the kind the first discount is.

If either side is missing, the customer can't use both. The same rule decides whether a customer can enter a second code at checkout: they can only when the codes are allowed to combine.

A OneCode discount can hold more than one kind. A code with a product discount and free shipping counts as both a product discount and a shipping discount, so any other discount it should work with has to allow both kinds.

## Worked example: a sale and a second discount

A store runs an automatic 20% Summer sale, which is a product discount. A customer buys a $100 Summer linen shirt, and Economy shipping is $8. Here is what the customer pays with different second discounts:

| Second discount | Combination settings | Customer pays |
| --- | --- | --- |
| None | Not needed | $80 for the shirt + $8 shipping = $88 |
| A 10% product code | Both allow product discounts | $88. The shirt already has 20% off, so the 10% adds nothing |
| A 10% order code | The sale allows order discounts, the code allows product discounts | $72 for the shirt + $8 shipping = $80 |
| ANNA10, a OneCode code with 10% off the order and free shipping | The sale allows order and shipping discounts, ANNA10 allows product discounts | $72, with free shipping |
| ANNA10 | The sale doesn't allow order discounts | The customer can't use the sale and ANNA10 together |

The 10% order discount comes off what's left after the product discount: 10% of $80 is $8.

![Checkout with the automatic Summer sale and the code ANNA10: the $100 Summer linen shirt is $80 with the Summer sale label, ANNA10 takes $8 off the $80 subtotal, Economy shipping is free instead of $8, and the total is USD $72.00](/images/checkout-anna.png)

The full creator setup is in [an influencer code during a sale](/guides/influencer-code-during-a-sale.md).

## Set combinations on a OneCode discount

1. Open the discount in OneCode. In the **Combinations** card, click the pencil icon.
2. Under **Allow this discount to combine with other discounts**, tick **Product discounts**, **Order discounts** or **Shipping discounts**, one for each kind of discount this one may be used with.
3. To remove a kind quickly, click the **X** on its row in the **Combinations** card.
4. Click **Save** in the bar at the top of the page.
5. Open the other discount: on Shopify's **Discounts** page if it's a Shopify discount, or in OneCode if it's a OneCode discount. Tick every kind the OneCode discount contains, and save.

![The Combinations options in OneCode: Allow this discount to combine with other discounts, with Product discounts, Order discounts and Shipping discounts all ticked](/images/combinations-edit.png)

New OneCode discounts combine with all three kinds by default. If you kept that default, the setting to check is usually on the other discount.

## Or put the parts in one discount

Combinations are for separate discounts. If the parts belong to one offer, such as 20% off and free shipping, you can skip them: add each part as a discount type in one OneCode discount. A product discount, an order discount and a shipping discount in the same OneCode discount always apply together when their conditions are met, and the customer enters one code instead of two. See [a discount code with free shipping](/guides/discount-code-with-free-shipping.md).

Inside one OneCode discount, two parts of the same kind follow the same best-value rule:

- If two product discount types cover the same item, the item gets the one that saves more. A 10% tier and a 15% tier give 15%, not 25%. On a tie, the type higher in the list wins.
- If two order discount types qualify, only the bigger one is used.
- Each shipping discount type applies to the rates it targets.

That rule is what makes tiers work. If you meant two percentages to add up on the same item, put the total on one product discount type, or make one of them an **Order Discount** so it comes off afterward.

## Things to check before you launch

- **Check both sides.** A missing tick on either discount stops them combining. The OneCode home page shows each discount's combinations, or "Not set to combine".
- **Two product discounts on one item don't add.** To give a second saving on top of a product sale, make it an order discount, as in the table above.
- **Two shipping offers give one.** Across separate discounts, Shopify applies one shipping discount per order and keeps the one that saves more.
- **Shopify Plus can stack product discounts on the same item.** On Plus, click **One per product (best value wins)** on the **Product discounts** row and choose **Multiple per product**, then list the tags of the discounts it may stack with under **Combine on same product with discounts tagged**. See [Shopify Plus stacking](/for/shopify-plus.md).
- **Tags alone change nothing.** The **Tags** card labels a discount so other discounts can refer to it. On its own it doesn't change how the discount works.

For the bigger picture of what "stacking" can mean, see [stacking discounts on Shopify](/stacking.md). If a customer already saw only one discount apply, see [why only one discount applied](/guides/only-one-discount-applied.md).

OneCode costs $9.90 USD every 30 days after a 7-day free trial, billed by Shopify. Install it from the [Shopify App Store](https://apps.shopify.com/rm-combo-discounts).
