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 BOGO function
  • Step 1 of 5:
  • Step 2 of 5:
  • Step 3 of 5:
  • Step 4 of 5:
  • Step 5 of 5:
  • Example of a BOGO discount
Export as PDF
  1. Function Types

BOGO (Buy One, Get One)

Learn how to set up the BOGO (Buy One, Get One) function.

PreviousBundle fixed priceNextFrequently asked questions

Last updated 3 days ago

With the BOGO (Buy One, Get One) function, you can offer customers discounts or free products when they add specific products or quantities to their cart.

In this section:


Creating a BOGO function

Step 1 of 5:

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

  2. Beside BOGO (Buy One, Get One), 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 5:

  1. Specify the items customers need to buy for the discount:

    1. From the drop-down menu, set the items to be included. This can be based on: product/variant, product tag, collection, vendor, type, or on sale.

    2. Beside selected items quantity, use a measurement condition like is greater than to set the item quantity required to get the discount, and fill in the number in the text field.

    3. Optional: If you want to add more products with different quantity requirements, then click Add an item and repeat steps 1a and 1b.

  2. Click Next.

Step 3 of 5:

  1. Specify the items customers will receive for the discount:

    1. From the drop-down menu, set the items to be included. This can be based on: product/variant, product tag, collection, vendor, type, or on sale.

    2. Beside selected items quantity, use a measurement condition like is greater than to set the item quantity required to get the discount, and fill in the number in the text field.

    3. Optional: If you want to add more products with different quantity requirements, then click Add an item and repeat steps 1a and 1b.

Step 4 of 5:

  1. Specify the discount value for the product(s) the customers will receive.

    1. Under Discount type, click the drop-down menu and select either Percentage off or Fixed discount.

    2. Depending on which type you chose, enter the number for the percentage off or the fixed discount, respectively.

    3. Optional: Check the box Limit number of bundle sets purchased per order to set a number of bundle sets that customers can get in a given order.

  2. Click Next.

Step 5 of 5:

  1. Automatic: Under Discount message, if you select Yes, then enter the discount message in the field provided below.

    1. 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 of a BOGO discount

In this example, Dua has a makeup brand, and she wants to run a sale that offers customers the opportunity to buy three lipsticks, get the fourth one free.

She wants the discount to apply automatically when all 4 lipsticks are added to the cart.

  • Function name: In this case, Dua would give her BOGO discount a name like Buy 3 lipsticks, get 1 free so that she can identify it later.

  • Eligibility: She wants this to be eligible to all shoppers, so she leaves it set All customers.

  • Specify the X product: In step 2, Dua would set the condition to: product/variant is any and then select her lipstick products. She would also set the selected item quantity is equal to 3 .

  • Specify the Y product: In step 3, Dua would set the condition to: product/variant is any and then select her lipstick products again. She would also set the selected item quantity is equal to 1.

  • Select the discount value for Y product: Dua wants the 4th lipstick to be free, so in step 4 she would set the action to: Percentage off 100%.

  • Discount method: In step 5, Dua would set the Discount type to Automatic. She wants customers to know about it, so she writes the Discount message to be Buy 3 lipsticks, get one free! 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 BOGO function
Example of a BOGO discount
publish a widget to your store