How to remove a tab from the Customer or Product page in the backend

I’ve been looking for this in google or stackoverflow for a couple of hours, before I found out how things work. We are talking about the backend. Lets begin with the Product tabs, because it is easier.

1. Removing Product tabs
a) Open your layout xml file (default: catalog.xml)
b) Search for <adminhtml_catalog_product_edit>
c) Add removeTab action Inside the “product_tabs” block

<reference name="left">
   <block type="adminhtml/catalog_product_edit_tabs" name="product_tabs">
      <action method="removeTab">

You can find out the NAME_OF_TAB, by inspecting the tab’s anchor (<a>) and looking for the “name” attribute.

2. Removing Customer tabs
a) You have to override Mage_Adminhtml_Block_Customer_Edit_Tabs because the Magento guys did a small typo there: they are adding tabs in _beforeToHtml() method instead of _prepareLayout(). So first you have to modify your config.xml and add:


In Yourmodule_Customer_Block_Edit_Tabs just copy and paste the Mage_Adminhtml_Block_Customer_Edit_Tabs contents (don’t forget to change the class name!), and rename _beforeToHtml() method to _prepareLayout()

b) Add the removeTab action into your layout xml (default: customer.xml):

    <reference name="left">
        <block type="adminhtml/customer_edit_tabs" name="customer_edit_tabs">
            <action method="removeTab">

Finding out the NAME_OF_TAB is similar as for the products (see step 1).

That’s all folks!

One thought on “How to remove a tab from the Customer or Product page in the backend”

Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload the CAPTCHA.