Looking to ignore a single product from a checkout discount

3 0 0

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

Reply 1 (1)

Shopify Partner
72 18 33

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,



Playwright | Create Shopify Scripts without writing code | https://playwrightapp.com
- Was my reply helpful? Please Like and Accept Solution.