Magento 无法重新排列产品页中的选项卡
我正在尝试移动Magento 2中产品页面上的选项卡。目前,“自定义CMS选项卡”显示在“详细信息”和“评论”之前。我试着把这个标签放在评论后面,这样它就会显示为第三个标签 我已经尝试完全删除代码,但是它留下了一个没有内容的空选项卡Magento 无法重新排列产品页中的选项卡,magento,Magento,我正在尝试移动Magento 2中产品页面上的选项卡。目前,“自定义CMS选项卡”显示在“详细信息”和“评论”之前。我试着把这个标签放在评论后面,这样它就会显示为第三个标签 我已经尝试完全删除代码,但是它留下了一个没有内容的空选项卡 航运 几个月前,我遇到了这个问题,并通过@juhanix找到了一个非常适合我的解决方案。通过传递priority参数,我们可以使用该参数将选项卡定位到需要它们的位置 原始问题和答案的链接如下: <block class="Magen
航运
几个月前,我遇到了这个问题,并通过@juhanix找到了一个非常适合我的解决方案。通过传递priority参数,我们可以使用该参数将选项卡定位到需要它们的位置 原始问题和答案的链接如下:
<block class="Magento\Theme\Block\Html\Title" name="page.main.sub.title" template="Magento_Theme::html/title.phtml"/>
<update handle="page.main.title" />
<move element="product.info.overview" destination="product.info.main" after="product.info.review"/>
<move element="page.main.sub.title" destination="breadcumbs-inner" before="-"/>
<move element="product-cms" destination="product.info.main" after="product.info.extrahint"/>
<referenceBlock name="product.info.details">
<block class="Magento\Catalog\Block\Product\View" name="cmsinfo.tab" as="cmsinfo" template="product/view/cms_tab.phtml" group="detailed_info">
<arguments>
<argument translate="true" name="title" xsi:type="string">Shipping</argument>
</arguments>
</block>
</referenceBlock>
</body>