enhance discount code management in cart