I'm looking to add a new tab to the adminhtml catalog product edit page on the left side. I've gone through and followed this tutorial, and my new tab is showing up correctly on the left side.
http://www.phpcmsframework.com/2012/12/magento-steps-to-add-custom-tabs-to.html
What I'm looking to do now, though, is change the sorting order of those tabs so mine is not last on the list. This is something that was not covered in the tutorial, and I have not been able to find anything online or in the code to point me in the right direction. Any suggestions appreciated!
Best Answer
See below, notice I changed the action from
addTab
toaddTabAfter
and within the action I added the node<after>inventory</after>
This will display the tab under the Inventory tab.
As per the example, your layout is currently:
Change it to this: