> ## Documentation Index
> Fetch the complete documentation index at: https://docs.voucherify.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Combine free shipping with item discounts

> Create one discount coupon that makes shipping free and takes 5% off item prices.

In this tutorial, you create one discount coupon. The coupon sets shipping to 0 and sets every other item to 95% of its unit price.

The discount is a **Product discount** of type **New price**. One discount can set a different new price on the **Shipping** product and on a product collection. The **Free shipping** category is a separate discount, and its value cannot be a formula. Read [Discount types and effects](https://docs.voucherify.io/build/discount-types-and-effects.md) for the other discount categories.

## What you will have

A generic code, `SHIP5`. In the Demo Shop, **Shipping** in the order summary is 0, and each other unit costs 95% of its price. A unit priced at 20.00 costs 19.00.

## Before you start

Your checkout sends products and shipping as separate order items. The shipping item is the built-in **Shipping** product. The **Product discount** picker lists that product.

The 5% applies to a collection of every product whose name is not Shipping. **All Products** includes **Shipping**, so this tutorial uses a new collection.

**1. Open product collections**

Go to **Campaign hub** > **Product collections** > **Create collection**.

**2. Name the collection**

Name the collection `Products except shipping`.

**3. Exclude Shipping**

Add a filter on **Name**. Set the condition to **is not**. Set the value to `Shipping`.

`Shipping` is the built-in product name.

**4. Save the collection**

Click **Save as collection** and choose **Dynamic collection**.

The collection updates when products are added. An SKU is included only when the SKU itself matches the filter. See [SKUs and dynamic collections](https://docs.voucherify.io/prepare/product-collections.md#skus-and-dynamic-collections).

## Create the discount coupon

First, create a campaign for the discount coupon.

**1. Open the campaign builder**

Go to **Campaign hub** > **Campaigns** > **Create campaign** and select **Discount coupons**.

**2. Set the code**

Name the campaign `Free shipping and 5% off`.

Select **Generic code** and enter `SHIP5`.

For bulk codes, time frame, and the other campaign settings, see [Create discount coupons](https://docs.voucherify.io/build/create-discount-coupons.md).

**3. Leave the time frame**

Open **Time frame** and leave the settings as they are.

**4. Open the discount builder**

Go to **Discount value**. Click **Add discount** > **Product discount**.

## Set the shipping price and the item price

The discount builder opens on **Discount**.

**1. Choose New price**

In **Discount type**, select **New price: Apply the discount to item subtotal**.

Under **Discounted products**, leave **Selected**. **Each** would include **Shipping** in the 5% price.

**2. Set shipping to 0**

On the first row, open **Select product or collection**. Choose **Products** and select **Shipping**.

Set **New price** to `0`.

**3. Set the 5% price**

Click **Add another**.

On the new row, open **Select product or collection**. Choose **Collections** and select `Products except shipping`.

On **New price**, click **Build formula** and enter:

```text theme={null}
ORDER_ITEM_PRICE * 0.95
```

**order item price** is the unit price. The new price is applied to each unit. When the builder shows **Formula is valid**, save the formula.

Set the **Fallback for New price** to a desired value.

**4. Save**

Leave **Conditions** empty and click **Save**.

To limit the coupon by order value, customer segment, or channel, add a validation rule on **Conditions**. See [Create validation rules](https://docs.voucherify.io/optimize/create-validation-rules.md).

Leave **Metadata** as they are. On the campaign summary, click **Save**.

## Check the discount

Go to **Marketer hub** > **Demo shop**.

**1. Add a product**

Add one unit of a product to the cart. The order summary includes a **Shipping** row.

**2. Apply the code**

In **Discount code**, enter `SHIP5` and click **Validate**.

**3. Read the summary**

**Shipping** is 0. The product unit costs 95% of its price. A unit priced at 20.00 costs 19.00. Two units cost 38.00.

## Related topics

Read more to create more advanced discount coupon scenarios.

> [accordion] Validation rules
>
> Validation rules decide whether `SHIP5` can be redeemed. The new prices decide what the customer pays.
>
> This coupon is a product discount, so Voucherify creates a validation rule for **Shipping** and `Products except shipping`. You can edit that rule and add conditions. You cannot remove it.
>
> You can limit the coupon with:
>
> * **Audience**, such as a customer segment or customer metadata
> * **Prices and quantities**, such as order value or the number of items
> * **Budget constraints**, such as redemptions per customer or per period
> * **Metadata** on the order or the redemption
>
> See [Create validation rules](https://docs.voucherify.io/optimize/create-validation-rules.md) and [Validation rule reference](https://docs.voucherify.io/optimize/validation-rules-reference.md).

> [accordion] Dynamic formulas
>
> To make the 5% depend on the order, customer, or metadata, edit the formula. See [Create dynamic formulas](https://docs.voucherify.io/optimize/create-dynamic-formulas.md).

> [accordion] Cart promotions
>
> A cart promotion can apply a percent tier and a free-shipping tier together. See [Create cart promotions](https://docs.voucherify.io/build/create-discount-promotions.md).

> [accordion] Stacking rules
>
> To allow this coupon and a separate free-shipping incentive on the same order, see [Stacking rules and categories overview](https://docs.voucherify.io/orchestrate/stacking-rules-overview).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.