Liquid, JavaScript, themes, sales channels
The script is written for a discount on the basis of the item like buy 2 items and get 20% off but when I add a gift to the cart it deal it as an item but I want to skip that gift on its count.
Like 1 item is added and 1 gift is added then there is no discount when there is 2 product and 1 gift then it should give the 20% discount as per script.
I tried line_item.variant.id but that does not work I have a variant id but dnt know how to make it check in the script.
Regards
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023