updated discount code application

Signed-off-by: Austin Ducworth <austin@ehousestudio.com>