Personalized checkout and custom promotions with Shopify Scripts
Hi there!
I have a script that is adding discount on line item based on the threshold so e.g the threshold is $15 and the discount is $5 now what happens is whenever threshold reaches it adds the $5 discount on first line item.
Now what I want is if user used a coupon code e.g there is a coupon code that if user used he will get product X as free.
Now what happens is if I add Product X and Y in the cart custom script applied the $5 discount on the first product X and then when we apply coupon code it mark the product X as free. Now the price of Product Y remains same what we want is that if any product mark free by coupon code then custom script discount should apply on any other item in cart so at the end customer can get both discounts.
Any help would be appreciated, Thanks
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024