Adding free gift to cart when checkout total is more than $25

Solved
jayanetty
Pathfinder
115 12 34

I want to gift my customers a free product if their total checkout is more than $25. Could I achieve this using Script editor line items?

0 Likes
raviranjan1078
Excursionist
15 3 3

This is an accepted solution.

Hi @jayanetty ,

Yes you can do it using javascript. Even you can make it configurable using section settings.

jayanetty
Pathfinder
115 12 34

Thanks @raviranjan1078. I got it to work :)

adam_bn
Shopify Partner
55 2 9

An easy no-code solution would be the Gifter: Auto Add to Cart app, which lets you set up rules that automatically add another product to the customer's cart (based on what products they are buying, or how much their cart value is, etc).

 

There's a free trial as well: https://apps.shopify.com/gifter-cart-auto-include

Reincarnated
Pathfinder
102 8 24

I myself stay away from apps when ever possible.  I have this coded directly into my themes.  You can see it in a Demo here:

 

https://demo.ecomdev.ca/

0 Likes
Adam_Čvikota
Shopify Partner
13 0 1

Hello,
if you need to offer free gifts if checkout total is more than XY, you can try to use this app:
https://apps.shopify.com/sales-motivator-free-gifts
 
You have 7 days trial there and app works on all devices.

0 Likes
bumbastic
Explorer
50 1 12
Not available anymore? :x
0 Likes
jayanetty
Pathfinder
115 12 34

Hi @bumbastic


Do you want to add a free product? Are you a Shopify plus user?

0 Likes
bumbastic
Explorer
50 1 12

Hi, yes I do want to add a free gift automatically, I have the basic plan though.

Right now I can add a discount rule of course but this implies the client has to add the product manually  in order to receive the free gift...

I would like it to be added automatically

0 Likes
jayanetty
Pathfinder
115 12 34

How I did it was using AJAX to inject the product. 
Get the product variation ID you want to give free and inject if the conditions are true. In my scenario, the cart total had to be more than $25. 

Do you know AJAX and Liquid coding? 

0 Likes