且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

更改管理网格Magento中的自定义产品标签位置

更新时间:2023-10-13 20:41:52

您可以使用操作addTabAfter代替addTab,然后必须指定<after>参数(类别,网站,追加销售... ).

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.