How to Automatically Add and Remove Free Gifts Based on Cart Thresholds in Shopify

How to Automatically Add and Remove Free Gifts Based on Cart Thresholds in Shopify

Dh141437
Visitor
3 0 0

 

Summary:

I’m looking for guidance on implementing automatic discounts for a “Buy X, Get Y” promotion in Shopify. Specifically, I need help with JavaScript or Liquid code to automatically add a free gift to the cart once a certain spending threshold is met. Additionally, I need to ensure that if the full-priced item causing the threshold to be met is removed from the cart, the free gift is also automatically removed. Any advice or examples of how to achieve this would be greatly appreciated.

Replies 0 (0)