更新时间: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.