Hi i have added a new product tab in admin grid by following the below link
http://inchoo.net/magento/how-to-add-custom-product-relations-in-magento/
Everything is working fine. BUt this has added the new tab at the last position in product edit section. Can you please suggest me how can i change the position of that tab.
thanks
You can use the action addTabAfter
instead of addTab
, then you have to specify the <after>
parameter (categories, websites, upsell...).
I edited the code of your tutorial for example:
<reference name="product_tabs">
<action method="addTabAfter">
<name>custom</name>
<block>inchoo_customlinkedproducts/adminhtml_catalog_product_edit_tab</block>
<after>upsell</after>
</action>
</reference>
I hope this is fexible enough for you.