All Collections
Widgets
Gift with Purchase
How To Create A Free Gift With Purchase Workflow
How To Create A Free Gift With Purchase Workflow

In this guide we show you how to create a free gift with purchase workflow using a Rebuy Gift With Purchase widget.

Strauss Van Wagenen avatar
Written by Strauss Van Wagenen
Updated over a week ago

The Free Gift With Purchase Widget doesn't show items offered but handles the Automatic adding of the free gift. There is no interface for the customer to interact with.

We recommend using this in addition to showing recommended products via another widget. Perhaps the data source also RETURNS "Super Title" Language that says "Spend X amount of $ Get a free gift!" Once the threshold is matched RETURN new "Super Title" Language saying "Congratulations, Enjoy Your Gift!".


NOTE: In order to make a TRUE gift with purchase widget, you MUST be on Shopify Plus. This is because you will need to have access to the Script Editor to make the automatic discounting function via scripts work.

Shopify Plus is required to make use of Shopify Scripts. As of February 13, 2023 Shopify announced that Shopify Scripts will be deprecated and they will be moving to functions. They have since removed the Script Editor application from the Shopify app store.

We do have a workaround for non Shopify Plus users that you can try if you would like. If you are on Shopify Plus, then continue with this article. If you are not, then please jump to the article called Creating a Free Gift with Purchase without Shopify Plus to get started.


Installation Instructions

Step 1: Create a New Gift With Purchase Widget

Reminder: You will also need to configure a Shopify Script so the auto-added item is free.

Step 2: Configure the Data source

In the General setting of the widget editor you will see Data Source. Click the "edit" link to open the connected Data Source Rule Builder that has been created for this widget.

An example of how this is used is saying: IF Cart Subtotal is GREATER THAN X amount of $ RETURN Free Item. You can also say IF Cart Subtotal is GREATER THAN X amount of $ AND/OR Products/Collections CONTAINS/ CONTAINS ANY (etc) RETURN Free Item.

Step 3: Install the GWP Widget

If you do NOT want your widget to be visible to your customers, then be sure to toggle live mode OFF prior to installing the widget. The live mode setting is toggled ON by default. To understand the definitions of "installed," "uninstalled," and "live mode," you can refer to the Rebuy Widget Installation Definitions help article for more information.

After clicking the "install" button, a new window will open with specific instructions for you to follow to complete the install process. These instructions may include copying and pasting code, configuring settings, or other steps. It is important to follow these instructions carefully to ensure a successful installation.

Since the gift with purchase widget is more of a global widget, you should install the widget within the theme.liquid file instead of app blocks even if you have access to app blocks. For more information on manually installing widgets, you can visit our help article that outlines that installation method.

Once you have your widget installed and your Shopify script created, you can turn your script on! This same flow can be duplicated with the Cart Page and Shopify checkout Gift with Purchase widget!


Want to learn more about Rebuy features? Book a demo with our team today!

Did this answer your question?