Quick tip: Redirect to admin product edit at specified tab in Magento

It’s quite easy if you know how to do it, if not use this snippet:

$this->_redirect('adminhtml/catalog_product/edit', array('id' => $productid, 'active_tab' => 'mytab'));

It works in every controller extending Mage_Adminhtml_Controller_Action

2 comments

Leave a Reply