# Leave one collection out of a Shopify discount

To give "20% off everything except Clearance" with [OneCode: Stackable Discounts](https://apps.shopify.com/rm-combo-discounts), target the collections you do want. Add one **Product Discount**, set **Target** to **Specific Collections**, and pick every collection except Clearance. Anything that is only in Clearance stays at full price.

Example: the code SAVE20 gives 20% off the Shirts collection and every other collection you picked, but not Clearance. A $40 Oxford shirt from Shirts drops to $32, and a $25 tee from Clearance stays at $25.

![SAVE20 at checkout. The $40 Oxford shirt from Shirts is $32, the $25 Clearance tee is full price, and the total is USD $65.00 with $8 shipping.](/images/checkout-clearance.png)

## Set it up

1. In OneCode, click **Create discount** and enter the code `SAVE20`, or choose **Automatic discount** and give it a **Title**.
2. Click **Add Discount Type**. Keep **Product Discount** and **Percentage**, and enter `20` in **Percentage**.
3. Set **Target** to **Specific Collections**, click **Browse**, and pick every collection you want discounted. Leave Clearance out.
4. Click **Save discount**.

## Things to check before you launch

- A product that is in Clearance and also in a collection you picked still gets the discount, because it is in a picked collection. Make sure clearance products are not also in your other collections, or leave those collections out too.
- A collection you create later is not covered until you add it to the discount.
- An order discount works the same way. Click **Limit to collections** and pick the collections it should apply to.

## Other ways to leave items out

- **Marked-down items.** If the items you want to leave out have a compare-at price above their price, keep **Target** on **All Products**, click **Add sale item rule**, and choose **Exclude sale items**. Variants that are not marked down still get the discount, even on a product that has a marked-down variant. See [discounts and sale items](/guides/sale-items.md).
- **Subscriptions.** Click **Add exclusions** and tick **Exclude subscription items**. See [subscription discounts](/guides/subscription-discounts.md).
- **A few variants of one product.** Set **Target** to **Specific Products**, pick the product, and choose only the variants you want discounted.

![The Sale items options on a product discount, with Exclude sale items selected](/images/exclusions-sale.png)

## A smaller discount on the leftover collection

If Clearance should get a smaller saving rather than none, add a second **Product Discount** on the same code that targets Clearance, for example at 10%. Each item gets the product discount that saves the most, so a product in both Clearance and a 20% collection gets 20%. See [a different percent per collection](/guides/different-percent-per-collection.md). The editor looks like this, with your own collections in place of Summer Collection and Accessories.

![Two product discounts on one code: 20% off Summer Collection and 10% off Accessories](/images/per-collection.png)

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).
