How This App Works
This Shopify app, along with its Tapcart block, will display a Free GWP Product Carousel with all eligible GWP products, based on customer’s cart subtotal, if the order was placed through the Tapcart app.
The app will discount the one GWP product with the highest met threshold by 100%.
E.g. Let’s say you have two GWP products:
GWP Product A has a threshold of $100
GWP Product B has a threshold of $250.
If the customer has both GWP Products A and B in his cart:
If the cart subtotal meets or exceeds $250, then GWP Product B will be 100% discounted. GWP Product A will not be discounted (higher threshold GWP product already met).
If the cart subtotal is between $100 and $249.99 then GWP Product A will be 100% discounted. GWP Product B will not be discounted (threshold not met).
If the cart subtotal is less than $100 neither product will be discounted.
Installation Instructions
Navigate to the app page in Shopify to install in your store - https://apps.shopify.com/tapcart-gwp.
After installing the app, you will be navigated to the app’s screen. Choose the name for your discount and click Create Discount. The default value is Free Gift With Purchase.
In the Tapcart app, drag the Gift with Purchase Banner block from your block bank on the left to your Cart and any other screen, such as the PDP, where you’d like it displayed.
Setting Up Product Metafields
Our free GWP app requires you to add a product metafield. Please reference Metafields Overview for more details.
Navigate to Settings in Shopify's Admin dashboard
Select Metafields and metaobjects
Click on Products
Click Add Definition on the top-right to create a new one
Enter Tapcart GWP Threshold in the name field.
Shopify will then pre-populate a namespace and key with the
custom.your_name_selection
pattern as shown below.Click on this value to reveal the namespace and key fields you need to edit.
Add the namespace and key to the relevant value.
Namespace: tapcart
Key: gwp-threshold
Metafield Type: Integer
Finally, scroll to the bottom of the section and ensure “Storefront API Access” is turned on.
When complete, the new Tapcart GWP Threshol
d` product metafield should have the following properties:
Name: Tapcart GWP Threshold
Namespace: tapcart
Key: gwp-threshold
Type: Integer
Minimum Value: 0
Designating a Product as a Free Gift
Next, add the tapcart-gwp
product tag to all the products you want to set as free gifts in the carousel.
Then, set the product's Tapcart GWP Threshold metafield in pennies.
For example, if you have a product want to designate as a free gift at a threshold of $300, set the Tapcart GWP Threshold metafield to be 30000
Repeat this process for each GWP product. When finished, you should see the available products populate in the Gift With Purchase Banner block in the dashboard.