Both are under Theme settings > Cart. Show on the cart page and Show in the cart drawer control the Order note and the Discount code field separately for the page and the drawer. See Cart.
How do I turn off the order note or discount field in the cart?
The cart settings that control both fields.
