---
title: "Free shipping only when another discount applies (Match Another Discount's Rules)"
description: "Make a shipping discount follow a product or order discount in the same code, so shipping is only discounted when that discount applies."
url: https://jxngqfpxd.us.gleap.help/en/articles/16-free-shipping-only-when-another-discount-applies-match-another-discount-s-rules
collection: "Conditions"
updated: 2026-11-06
language: en
---

# Free shipping only when another discount applies (Match Another Discount's Rules)

Make a shipping discount follow a product or order discount in the same code, so shipping is only discounted when that discount applies.

**In short:** On a shipping discount, add **Match Another Discount's Rules** and tick the product or order discounts it should follow. The shipping discount then only applies when those discounts would apply too.

## Why you need it

Each discount type in a code is checked on its own. Without this condition, a code with "20% off Accessories + free shipping" gives free shipping even when the cart has no accessories, because the shipping discount has no rules of its own.

**Match Another Discount's Rules** links them: shipping is free only when the accessories discount applies.

## Set it up

1.  Add the product or order discount first, with its target, exclusions and conditions.
    
2.  Add a **Shipping Discount**.
    
3.  In its **Per-Discount Conditions**, click **Add Condition** and pick **Match Another Discount's Rules**.
    
4.  Tick the discounts to follow. Each is labeled with its type, value and target, for example "Product — 10% OFF · Accessories".
    
5.  You can tick more than one. The shipping discount then applies when **any** of the ticked discounts applies.
    

![Match Another Discount's Rules on a shipping discount, with two product discounts ticked: 10% off Accessories and 15% off Shirts](https://staticfiles.us.gleap.ai/p6ae440349b260bc5e19963ea/0Bh1UQLd9RVKqmGU8dl4OALoaylzRuDXRc5WM2baZIdxhsLRX3089PmgBgRbojZayMO8rPFpkvm.png "Match Another Discount's Rules on a shipping discount, with two product discounts ticked: 10% off Accessories and 15% off Shirts")

## What "active" means

A ticked discount counts as active when it would apply to the current cart: the cart has items it targets that aren't excluded, and its **Per-Discount Conditions** are met. It uses the same rules as the discount itself, so you don't have to copy them.

## Worked example

Code SHIPSAVER: 10% off Accessories, plus 50% off **Express Shipping** that follows it.

-   Cart with a $30 tote from Accessories: 10% off the tote, and Express Shipping is half price.
    
-   Cart with only a $40 shirt: no accessories, so no 10% and full-price shipping.
    

![The SHIPSAVER shipping discount: 50% off Express Shipping, following the 10% product discount on Accessories](https://staticfiles.us.gleap.ai/p6ae440349b260bc5e19963ea/4HLy9uOppOvk7mIKZaRbUV6U6BGzSz5KVoGGmTYLXj12miuQ75OQ6geHYXMdZLCVcS1b0JN6BAe.png "The SHIPSAVER shipping discount: 50% off Express Shipping, following the 10% product discount on Accessories")

## Good to know

-   Only available on shipping discounts, and only lists the product and order discounts in the same code.
    
-   If you tick an order discount that has no **Limit to collections**, only its **Per-Discount Conditions** are checked.
    
-   The builder reminds you about this option with a blue note when a code has both a shipping discount and a product or order discount.

## Related

- [Global conditions vs per-discount conditions](https://jxngqfpxd.us.gleap.help/en/articles/10-global-conditions-vs-per-discount-conditions.md)
- [Cart Subtotal, Cart Total and Cart Quantity conditions](https://jxngqfpxd.us.gleap.help/en/articles/11-cart-subtotal-cart-total-and-cart-quantity-conditions.md)
- [Group and Included Items conditions](https://jxngqfpxd.us.gleap.help/en/articles/12-group-and-included-items-conditions.md)
- [Customer Tag and Customer Segment conditions](https://jxngqfpxd.us.gleap.help/en/articles/13-customer-tag-and-customer-segment-conditions.md)
- [Shipping Country condition](https://jxngqfpxd.us.gleap.help/en/articles/14-shipping-country-condition.md)
