Discount UI to calculate discount on full price instead of sale price

I have a client that is going to have special sale items but wishes to also have a discount code that applies the discount only at the full price.

Is there a way for the discount UI (productDiscountsAdd or orderDiscountsAdd) to utilise the discount on a full price instead of compare at price?

Nope, you have to dynamically calculate this yourself. In the input of the function you can read either the price, or the compare at price :slight_smile: