How to add new tab in left panel, when add new product in admin panel?

Posted: August 6, 2009 in Magento, Version 1.3.*

For Above subject,

1. ) First create Newtab.php


content of this file looks something like this


class Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Newtab extends Mage_Adminhtml_Block_Widget_Form {
public function __construct()

protected function _prepareLayout()

return parent::_prepareLayout();

public function initForm(){

$form = new Varien_Data_Form();
return $this;


2 ) Create a file newtab.phtml

content of this file is


New Tab File Content


3) the important step is adding the tab


$this->addTab(’addresses’, array(
‘label’ => Mage::helper(’customer’)->__(’New Tab’)
, ‘content’ => $this->getLayout()->createBlock(’adminhtml/customer_edit_tab_newtab’)->initForm()->toHtml(),

– Jinesh Soni
  1. atwix says:

    Hi! Thanks for the great information, it’s very useful. We have an article on the similar topic posted here you are welcome to check it out and leave your feedback

  2. Hi Jinesh,
    actually i want to open grid in second tab. basically i have a module where all information are showing if i click on that than edit form has opened. on edit page i want to add one more tab where i want to display grid in ajax .

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s