Discount codes are applied at checkout.
Shipping and taxes calculated at checkout.
One statement deserves another.