How to add custom tabs to the magento product edit page admin.

Hi All
In this article, we are going to discuss about How to add custom tabs to the magento product edit page admin.
Step 1:

Let’s add a tab for a custom module. Add the following code to your etc/config.xml file in the global scope inside blocks tag.

Step 2:
After this you should create a new file: Avinash/Tab/Block/Adminhtml/Tabs.php The content of this file you can see below

Step 3:

The code above rewrites the system function which generates the layout and adds the tab. Next, you need to create a file: Avinash/Tab/Block/Adminhtml/Tabs/Tabid.php

Note: template should be in app/design/adminhtml/…/…/template/tab/mytab.phtml

After this, simply follow the instructions above. I hope this article was helpful. Comments are welcome.

The following two tabs change content below.

Latest posts by Avinash Kumar (see all)

One thought on “How to add custom tabs to the magento product edit page admin.

Leave a Reply

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