set cart discount code id to 0 if it doesnt exist in cart object