---
title: Example - Applying a coupon code to receive free shipping
related:
  - https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/discounts/working-with-coupon-codes.md
  - https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/discounts/working-with-free-shipping-offers.md
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

This example demonstrates how to create a [free shopping offer](https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/discounts/working-with-free-shipping-offers.md) that requires customers to enter a [coupon code](https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/discounts/working-with-coupon-codes.md). The offer has no time limit, and is available to all [customers](https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/customers.md) whose order exceeds 999.99 USD. It uses a coupon code with an unlimited number of available uses. The coupon code can be applied while shopping on the live site, or when editing orders in the administration interface.

The example uses the sample _Dancing Goat MV&#x43;_&#x73;ite.

## Adding a free shipping offer

First, you need to add a new free shipping offer.

1. Open the **Free shipping offers** application.
2. Click **New Free shipping offer**.

   - The system opens a page where you can specify the offer properties.
3. Enter the following values for the offer's properties:

   - **Name**: Free shipping
   - **Enabled**: Yes (checked)
   - **Minimum order amount**: 1000
   - **Customer has to redeem a coupon to get Free shipping**: Yes (checked)
4. Click **Save**.

The system opens the **Coupons** tab of the newly added free shipping offer. Now you can add a coupon code to the offer.

> **Tip:** For a more complex example of adding a free shipping offer, please refer to [Example - Redeeming a free shipping offer](https://docs.kentico.com/13/e-commerce-features/managing-on-line-stores/discounts/working-with-free-shipping-offers/example-redeeming-a-free-shipping-offer.md).

## Adding a coupon code to the free shipping offer

1. Click **Create coupon code**.
2. Enter the following values for the coupon's properties:

   - **Coupon code**: FSO-1000
   - **Redemption limit**: _Leave empty for unlimited use of the coupon_
3. Click **Save**.

The system adds the coupon code to the free shipping offer. Any customer whose order exceeds 999.99 USD can apply the code and receive free shipping.

## Applying the coupon code to receive free shipping

### While editing an existing order in the administration interface

1. Open the **Orders** application.
2. **Edit** () the selected order.
3. Switch to the **Items** tab.
4. Enter the coupon code:

   - **If you have a coupon, please enter it here**: FSO-1000
5. Click **Update**.

   - The system applies the free shipping offer.

     ![Free shipping offer applied](https://docs.kentico.com/docsassets/13/example-applying-a-coupon-code-to-receive-free-shipping/free_shipping_offer_applied.png "Free shipping offer applied")

If you now click **OK**, the system saves the order with the free shipping offer applied.

### While shopping on the live site

1. View the live site.
2. Visit **Store -> Grinders**.
3. Click _Anfim Super Caimano_ in the catalog display.
4. Click **Add to cart**.
   - The system displays the content of your shopping cart, allowing you to enter a coupon code.
5. Enter the coupon code: FSO-1000
6. Click **Apply**.

   - The system applies the free shipping offer.

If you now click **Checkout**, you can continue in the [checkout process](https://docs.kentico.com/13/e-commerce-features/developing-on-line-stores/implementing-a-checkout-process.md).
