Personalized checkout and custom promotions with Shopify Scripts
How to disable all discount codes on Shopify by product tag using script?
I've adjusted the price directly to the compare-at price, but I don't want the buyer to use another discount code again as this will result in duplicating the discount, how do I do this?
How do I add a script to prevent this?
In which location do I add the script?
I am using the basic Shopify.
Thank you!
Hi,
In case there are any Shopify Plus stores that come across this post, Discount Guardian can block discount codes based on rules such as the shipping address, specific product variants and if a gift card is being used.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025