LogoLogo
  • 👋Function Junction
    • Introduction
    • Why should I use it?
    • Shopify Function Examples with Function Junction
  • Getting Started
    • Shopify Scripts Are Ending: How to Migrate Shopify Scripts to Function Junction
    • Function Junction Overview
  • Templates
    • Shopify Function Product Discount Template
    • Shopify Function Discount by Customer Tag Template
    • Shipping discount
    • Order discount
    • Free shipping to VIP customers
    • Shopify Function Bundle Discount Template
  • ✨Function Types
    • Creating and publishing
    • Discounts
      • Conditional discounts
      • Shipping discounts
      • Tiered discounts
      • Bundle fixed price
    • BOGO (Buy One, Get One)
  • FAQ
    • Frequently asked questions
  • Privacy Policy
Powered by GitBook
On this page
  • In this section:
  • Creating a shipping discount
  • Step 1 of 3:
  • Step 2 of 3:
  • Step 3 of 3:
  • Example shipping discount
Export as PDF
  1. Function Types
  2. Discounts

Shipping discounts

Learn how to set up the shipping discount function.

PreviousConditional discountsNextTiered discounts

Last updated 2 days ago

With the shipping discount function type, you can create a discount that applies automatically to the customer's shipping rate at checkout based on certain conditions that you set.

In this section:


Creating a shipping discount

Step 1 of 3:

  1. From the Function Junction dashboard, click Create a function.

  2. Beside Shipping Discount, click Continue.

  3. Under Function name, give your discount a unique name so you can identify it later, then click Next.

  4. 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.

  5. 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.

  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.

  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.

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).

  • 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

  • Action taken: In step 2, Maia would set the action to: then percentage total discount is 100%

  • 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

  • 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 .

✨
Creating a shipping discount
Example shipping discount
publish a widget to your store