All things Shopify and commerce
I'm trying to code a volume bundle, I got this code for clicking the Add To Cart button: Jan 16 12:02 AM Codeshare. I want to set a discount of an additional 10% when buying 2 variants of 1 product and an additional 15% when buying 3 or more variants of 1 product. The discount should only be applied to the products added to cart, but it did not work when I tried doing it. Should I use the update cart api to update the cart, or should I do something else I really do not have a clue. Thanks if you want to look into this for me, URL: Glow Curtain: 400 LED Lights for a Magical Ambiance – InteriorGlows
Hi TrendBlend
When you want to adjust the code and use additional APIs from the theme, I recommend contacting the theme's developer to better understand how the Add to Cart functionality works. Incorrect modifications may cause theme errors and lead to issues with your store.
Best,
Esther
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