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
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,
Have you created a collection on your online store and experienced an issue with adding yo...By Ollie Aug 24, 2022
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...By Ollie Jul 28, 2022