Reject Discount Code per item

Excursionist
18 1 1

How could the discount code do nothing without beeing rejected? If I dont reject it then wont it just apply?

0 Likes
Shopify Expert
9778 86 1524

A 0% discount code will still apply. Let's say that code is "foo". Shopify Scripts sees that the "foo" code is added then runs its logic to discount some items.

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes
Highlighted
Excursionist
18 1 1

Ah, ok, I understand what you mean, thank you for the sugestion. It doesnt apply to my problem tho because I am treating the discount code as a wildcard not something I could easily control. Controling the discount code behaviour trough the admin or api is the solution, however it isnt practical when you have many existing sales rules and 3rd party apps generate new ones regularly.

0 Likes