- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2020
04:26 AM
07-24-2020
04:26 AM
Hello everybody
I added a tab on the product view page. Now it's shown as the first tab, but I want it as the 2nd last one.
I followed this article: https://webkul.com/blog/display-custom-tab-product-page-magento2/
Any ideas?
Solved! Go to Solution.
Labels:
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2020
06:06 AM
07-24-2020
06:06 AM
<block class="Magento\Catalog\Block\Product\View" name="shipping_tab" template="Magento_Catalog::product/view/shipping.phtml" group="detailed_info" >
<arguments>
<argument translate="true" name="title" xsi:type="string">Shipping</argument>
<argument name="sort_order" xsi:type="string">10</argument>
</arguments>
</block>
Add the sort order argument inside the product.info.details reference block container. Change the sort order argument value to 10, 20, 30 as per your order.
Manish Mittal
https://www.manishmittal.com/
https://www.manishmittal.com/
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2020
06:06 AM
07-24-2020
06:06 AM
<block class="Magento\Catalog\Block\Product\View" name="shipping_tab" template="Magento_Catalog::product/view/shipping.phtml" group="detailed_info" >
<arguments>
<argument translate="true" name="title" xsi:type="string">Shipping</argument>
<argument name="sort_order" xsi:type="string">10</argument>
</arguments>
</block>
Add the sort order argument inside the product.info.details reference block container. Change the sort order argument value to 10, 20, 30 as per your order.
Manish Mittal
https://www.manishmittal.com/
https://www.manishmittal.com/