---
title: "A different discount for each collection in one code"
description: "Give 20% off one collection and 10% off another with a single discount code."
url: https://docs.onecodediscounts.com/en/articles/26-a-different-discount-for-each-collection-in-one-code
collection: "Recipes"
updated: 2026-11-06
language: en
---

# A different discount for each collection in one code

Give 20% off one collection and 10% off another with a single discount code.

**In short:** Add one **Product Discount** per collection, each with its own percentage and **Specific Collections** target. One code then gives each collection its own discount.

**Why one code:** a Shopify discount has one value, so 20% off one collection and 10% off another would be two codes. OneCode: Stackable Discounts does it with one.

## Example

Code SUMMER: 20% off the Summer Collection and 10% off Accessories.

## Steps

1.  Click **Create discount**, choose **Discount code** and enter `SUMMER`.
    
2.  Click **Add Discount Type**. Enter `20` in **Percentage**, set **Target** to **Specific Collections** and pick Summer Collection.
    
3.  Click **Add Discount Type** again. Enter `10`, set **Target** to **Specific Collections** and pick Accessories.
    
4.  Click **Save discount**.
    

![Two product discounts: 20% off the Summer Collection and 10% off Accessories](https://staticfiles.us.gleap.ai/p6ae440349b260bc5e19963ea/s60dAYd4RZRlKCIhiTvqF9NurDD945AJ4eC9Hf9rRwUwN25ft0oaAKMaGYpqnilNudLljmqcOZ5.png "Two product discounts: 20% off the Summer Collection and 10% off Accessories")

## What the customer gets

A $50 summer shirt and a $20 tote from Accessories:

-   Shirt: 20% off, $10 saved.
    
-   Tote: 10% off, $2 saved.
    

## Good to know

-   If a product is in both collections, it gets the bigger discount (20%), not both.
    
-   Add as many collections as you like, each as its own discount type.
    
-   Add free shipping to the same code with a **Shipping Discount**.

## Related

- [Spend $100, get 20% off and free shipping](https://docs.onecodediscounts.com/en/articles/27-spend-dollar100-get-20percent-off-and-free-shipping.md)
- [Buy more, save more: quantity tiers (buy 2, 3 or 4)](https://docs.onecodediscounts.com/en/articles/28-buy-more-save-more-quantity-tiers-buy-2-3-or-4.md)
- [Spend more, save more: spending tiers](https://docs.onecodediscounts.com/en/articles/29-spend-more-save-more-spending-tiers.md)
- [Free shipping only when the cart has discounted products](https://docs.onecodediscounts.com/en/articles/30-free-shipping-only-when-the-cart-has-discounted-products.md)
- [Buy one, get one free (BOGO)](https://docs.onecodediscounts.com/en/articles/31-buy-one-get-one-free-bogo.md)
