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
  • How to build
  • Campaign name
  • Trigger
  • Action
  • Discount details
  • Publish
Export as PDF
  1. Templates

Shopify Function Bundle Discount Template

Quick start template - Discounted conditions when products are bundled

PreviousFree shipping to VIP customersNextCreating and publishing

Last updated 7 months ago

Increase your total items per transaction with special bundle discounts. Function Junction can bundle individual products together with a wide range of options including by collection, tags, vendor, type and manually selecting products and variants.

Discounts are applied to each item in the cart that qualify for the bundle discount:

Example use case:

In this example, the customer can save 15% when they bundle products from the Eyes collection and the Lips collection.

Result:

Each qualifying item that's bundled will receive the discount. The discount message is displayed in the cart screen:

  • Function Junction applies the discounts to each qualifying product in the cart.

For the trigger, we've used two conditions. If the cart has an item from the Eyes collection and the quantity is equal or greater than one. And, the cart has an item from the Lips collection with a quantity of one or more, then apply the action. The action verifies the items belong to the chosen collections and the applies a percentage discount to each qualifying item in the cart.

How to build

Start by choosing the Product discount template from the Home screen:

Or, from the Templates folder:

Campaign name

Name your product discount campaign. The name will help you identify the campaign in your main list of functions. You can easily toggle campaigns on and off from there.

Use a unique name for each campaign. Discount functions also appear in your Shopify Admin under Discounts.

Trigger

With Function Junction, you can build custom triggers to activate your function. Use the Condition dropdown options to build the full tigger condition.

In this example, the trigger condition is looking for items in the cart that belong to the Eyes collection AND items in the cart from the Lips collection. Our requirements are one item from each collection to build the bundle:

  1. In the first IF trigger condition, the function is checking the cart for items. If an item in the cart is from the Eyes collection and is equal to one or more items, the first requirement is reached.

Use the last dropdown to choose your first collection:

  1. In the AND tigger condition, the function is checking the cart for items. If an item in the cart is from the Lips collection and is equal to one or more items, the second combined requirement is reached.

Action

Function Junction will perform an action based on the combined trigger requirements. Customize the campaign's reward or action here.

In this example, the customer is rewarded with 15% off each bundled item if the products are bundled from the Eyes collection and the Lips collection.

The Discounted Item Selector is used to qualify the items in the cart, and to ensure they match the trigger conditions:

The THEN condition rewards the customer with their discount if the above conditions match.

Discount details

Add an optional message about your campaign in the Offer message box:

The Offer message appears with each product that qualifies as a bundle:

Publish

After saving the function, you can return to the main Functions screen to activate and test the function.

Use the Publish toggle to activate your function or to turn off and use at a later time:

The first item does not qualify; the next two are qualifying items
Overview of Eyes and Lips bundle discount
Home screen templates
List of templates from the Templates folder
Offer Messages for qualified items in the cart
Toggle functions from the main Functions folder