Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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.
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025