> For the complete documentation index, see [llms.txt](https://support.functionjunctionapp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.functionjunctionapp.com/function-types/discounts/shipping-discounts.md).

# Shipping discounts

You can use shipping discounts to automatically reduce or remove a customer’s shipping charge at checkout, based on conditions you define.

For example, you might offer free shipping on orders over $75, discounted shipping for wholesale customers, flat-rate shipping within specific countries, or free express shipping on high-value orders. You can use shipping discounts help reduce cart abandonment, encourage higher order values, and reward loyal customers.

## In this section:

* [Creating a shipping discount](#creating-a-shipping-discount)
  * [Example shipping discount](#example-shipping-discount)

***

## Creating a shipping discount

### Step 1 of 3:

1. From the Function Junction dashboard, click **Create new campaign**.
2. Under **Create campaign**, click **Start from scratch.**
3. Beside **Shipping Discount**, click **Continue**.
4. Under **Function name**, give your discount a unique name so you can identify it later, then click **Next**.
5. Optional: Under **Eligibility**, select **Specific condition** to set criteria based on: **customer total spend, customer tags, customer orders count, cart subtotal, cart items quantity, cart has items,** and **cart has no items**. You can add additional conditions by clicking **Add a condition**.
6. Click **Next.**

### Step 2 of 3:

1. Set up the action (the discount) that is taken when the conditions you set are met.
   1. The discount types you can choose from the drop-down menu are: Percentage total discount, or fixed total discount.
   2. Fill in the second text box with the number representing the discount amount you want to set up, then click **Next**.
2. Optional: Under **Filter**, add a filter. You can choose to set the discount for only specific shipping rates. This can be based on: **rate name**, **rate method**, or **rate price**. Each filter condition you can choose has specific rules that you need to set up.&#x20;
3. When you're done, click **Next**.

### Step 3 of 3:

1. Under **Discount type**, select if you want the discount to be **Automatic** or **With Discount Code**.
   1. **Automatic**: Under **Discount message**, if you select **Yes**, then enter the discount message in the field provided below.
   2. **With Discount Code**: Enter the discount code that you want customers to enter at checkout.
2. Under **Combinations**, if you want this discount to be combined with other discounts, then click **Yes**, and check which types of discounts that you want it to be combinable with.&#x20;
3. When you're done, click **Publish**.

***

### Example shipping discount

In this example, Maia has a furniture business and she wants to offer free shipping automatically, as long as the cart subtotal is over $500.&#x20;

However, Maia ships large objects worldwide, so she wants to make sure the discount only applies to shipping rates that don't exceed the value of the cart (ie, not more than $500).&#x20;

* **Function name**: In this case, she would give her shipping discount a name like `Free shipping over $500` so that she can identify it later.
* **Eligibility**: Since she wants the cart to be over $500, she would select **Specific condition**, and then set the condition to the following: `if` `cart subtotal` `is greater than` `$500`&#x20;
* **Action taken**: In step 2, Maia would set the action to: `then` `percentage total discount` `is` `100%`&#x20;
* **Filter**: Since she wouldn't want to discount a shipping rate worth more than the cart total, she would set the filter to **Specific shipping rates**, and set the conditions to: `rate price` `is less than` `$500`&#x20;
* **Discount method**: In step 3, Maia would set the **Discount type** to **Automatic.** She wants customers to know about it, so she writes the **Discount message** to be `FREE shipping on orders over $500!` She doesn't want this discount to combine with any other discounts, so she leaves **Combinations** set to **No**.

When your discount is published, if you want to advertise it, then you can [publish a widget to your store](/creating-and-publishing.md#step-2-publishing-a-widget-to-your-storefront).
