Personalized checkout and custom promotions with Shopify Scripts
I am looking to ignore a single product from all discount codes in the checkout but the examples from Shopify need each discount manually entered and I was wondering if there was a way to set it for all
Hi Chris,
I'm not sure if this exactly answers your question, but here is a script that doesn't allow ANY discount code to be used if a product with tag 'no-discount' is in the cart. The caveat is that it will prevent any other items in the cart from being discounted as well. You can customize some of the settings at the bottom.
(the script is attached, because the forum is modifying parts of it)
Let me know if that is helpful,
Matthew
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024