How to hide the "If you have a coupon code, enter it here" option, in an online registration form to an event?
If there is no code that applies to either the event or a price line item that is used in the event price set the discount code block should not appear.