---
title: "20% off full price, 10% off sale items, in one code"
description: "Give full-price items a bigger discount than items already on sale, or keep sale items out of a code completely. Checked for each variant, so full-price sizes still get the full discount."
url: https://jxngqfpxd.us.gleap.help/en/articles/45-20percent-off-full-price-10percent-off-sale-items-in-one-code
collection: "Recipes"
updated: 2026-11-06
language: en
---

# 20% off full price, 10% off sale items, in one code

Give full-price items a bigger discount than items already on sale, or keep sale items out of a code completely. Checked for each variant, so full-price sizes still get the full discount.

**In short:** Add a 20% **Product Discount** with the sale item rule **Exclude sale items**, and a 10% **Product Discount** with no rule. Full-price items get 20%. Sale items can only get the 10%.

**Why one code:** with Shopify's own discounts, this takes two codes, and leaving out sale items means a collection of full-price products (which includes or leaves out whole products, not single sizes or colours) or picking full-price variants by hand whenever prices change. OneCode: Stackable Discounts checks each item in the cart for you.

A sale item is any item whose compare-at price is higher than its price.

## Steps

1.  Click **Create discount** and enter a code, for example `SAVE20`.
    
2.  Click **Add Discount Type** and enter `20` in **Percentage**. Keep **Target** as **All Products**, or pick collections.
    
3.  Click **Add sale item rule** and choose **Exclude sale items**.
    
4.  Click **Add Discount Type** and enter `10` in **Percentage**, with the same **Target**. Don't add a sale item rule.
    
5.  Click **Save discount**.
    

![The Sale items section on a product discount, with Exclude sale items selected](https://staticfiles.us.gleap.ai/p6ae440349b260bc5e19963ea/n56W15Y2S287jLv0sIRM3p4VHJ5f5PoVDYqK5uEa5i048OibzogVM7bvYdbUxgCiomFWNxvUyb2.png "The Sale items section on a product discount, with Exclude sale items selected")

## What the customer gets

A cart with a $50 full-price shirt, and jeans reduced from $80 to $60:

-   Shirt: 20% off, $10 saved. It qualifies for both discounts and gets the bigger one.
    
-   Jeans: 10% off the sale price, $6 saved.
    

## Variations

-   **Nothing off sale items:** add only the 20% discount with **Exclude sale items**.
    
-   **No double discount, but a saving for everyone:** use one 20% discount with the sale item rule **Discount from the compare-at price**. Each item ends at 20% off its original price, and items already reduced by more keep their sale price. Only for **Percentage** discounts.
    
-   **Free shipping with it:** add a **Shipping Discount** with **Free Shipping**.
    
-   **Spend $100 on full-price items:** add the Per-Discount Condition **Group Subtotal** at least `100` to the 20% discount. Excluded sale items don't count toward it. Use **Cart Subtotal** if sale items should help reach the $100. Below $100, full-price items get the 10%.
    

## Good to know

-   OneCode checks each item in the cart, so it works per variant. If only some sizes or colours of a product are reduced, the full-price ones still get 20%.
    
-   Sale item rules are only on product discounts. An **Order Discount** comes off the whole order, sale items included.
    
-   Subscription and preorder items follow the same sale rules. To leave all of them out, use **Exclude subscription items**. See [Sale items and subscription items](https://jxngqfpxd.us.gleap.help/en/articles/7.md).

## Related

- [A different discount for each collection in one code](https://jxngqfpxd.us.gleap.help/en/articles/26-a-different-discount-for-each-collection-in-one-code.md)
- [Spend $100, get 20% off and free shipping](https://jxngqfpxd.us.gleap.help/en/articles/27-spend-dollar100-get-20percent-off-and-free-shipping.md)
- [Buy more, save more: quantity tiers (buy 2, 3 or 4)](https://jxngqfpxd.us.gleap.help/en/articles/28-buy-more-save-more-quantity-tiers-buy-2-3-or-4.md)
- [Spend more, save more: spending tiers](https://jxngqfpxd.us.gleap.help/en/articles/29-spend-more-save-more-spending-tiers.md)
- [Free shipping only when the cart has discounted products](https://jxngqfpxd.us.gleap.help/en/articles/30-free-shipping-only-when-the-cart-has-discounted-products.md)
