Magento2 | PWA | GraphQL

How to Remove Block From Layout in Magento 2


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>

0 Comments On "How to Remove Block From Layout in Magento 2"

Back To Top