Automatically add Free item add to cart when checking out

rattnaks
Excursionist
28 0 7

I want to have a free product added to the customers cart if they are buying certain specific items.   Could I achieve this using code?

I have seen you can add code for this similar but only for when spending over a certain amount, i want to just have it as a product not an amount,

 

Thanks!

0 Likes
Jasoliya
Shopify Expert
4128 569 998

Hi

If you want to add any product(free gift product) when any product added in cart then we must have to do customization.

i can give you way if you can.

1. you have to code for cart page so that if you get any specific product in cart you have to add your gift product in cart by Js code.

take one variable and and check condition in cart.item loop if you found you product in cart then trigger Js code to add gift product.

If you want me to do that Pm me 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com Or WhatsApp Or Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes