Set discount on order, not including shipping?

Hey there,

I’m trying to set up a discount where a customer gets $40 off their order but that amount cannot be applied to the cost of shipping. Is there a way to do this?



So, if an order was $36 and the cost of shipping was an additional $5.50 then the customer would have to pay only $5.50.



Thank you!