How to remove apply discount code from cart page in magento 2

Sometimes you may want to remove the apply discount code from the cart page and it’s quite easy. Since magento itself recommends the xml way to remove an element or block, so we will follow the same. Edit this file, app/design/frontend/{Vendor}/{theme}/Magento_Checkout/layout/checkout_cart_index.xml and enter below piece…