Posted on

Magento 2 How can I remove tabs in order view?

It is able to remove the block by using
But how can I remove the tab which is added by using argument? Thanks.

<block class=”MagentoSalesBlockAdminhtmlOrderViewTabCreditmemos” name=”sales_order_creditmemo.grid.container”/>
<action method=”addTab”>
<argument name=”name” xsi:type=”string”>order_creditmemos</argument>
<argument name=”block” xsi:type=”string”>sales_order_creditmemo.grid.container</argument>

Leave a Reply

Your email address will not be published. Required fields are marked *