How to prevent discount stacking in tiered discount code script?

Hey Matthew,

Thank you for your help here! The below script worked amazing as far as requiring a discount code to be entered vs. automatically applying. I just have a question about having the code apply the correct % off depending on the $ threshold. If I create this coupon in the backend, I’m only able to assign one % off, as Shopify doesn’t allow me to create multiple codes with the same discount code name for each % off. Do you have a workaround for this?

Thanks again!

Sam