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
User | RANK |
---|---|
37 | |
29 | |
12 | |
12 | |
8 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023