You can remove block from layout with below code:
For example, remove the coupon code block from the checkout cart page: In
checkout_cart_index.xml
, you can write below code:
<body> <referenceblock name="checkout.cart.coupon" remove="true"/> </body>
Tag :
Magento2
Layout
0 Comments On "How to Remove Block From Layout in Magento 2"