
Having the option to enter a discount code on the checkout page might not always be necessary, especially if a member is purchasing a level that doesn’t have a discount code associated with it.
This code recipe will only display the Apply Discount field on the checkout page if the level that is being purchased has an associated discount code.