I am adding an alternate reviews tab to the product detail page, and I have the tab appearing, but it always renders as the first tab in the list, the leftmost. I'd like it to be at the end, after (or in place of) the standard Reviews tab.
<referenceBlock name="product.info.details">
<block class="My\Module\Block\Reviews" name="my.reviews.tab" as="my_reviews" template="My_Module::reviews.phtml" group="detailed_info">
<arguments>
<argument translate="true" name="title" xsi:type="string">Reviews</argument>
</arguments>
</block>
</referenceBlock>
I've dug around in the mage-catalog and mage-reviews code, but I can't find an argument I can pass to change this.
Best Answer
You can just change inside
details.phtml
template file and set as per your requirement tabbing order,set details.phtml file inside your theme folder,
Code for details.phtml file,
After adding above code now review tab display after details tab. Finally Tab orders are display like
Details, Review, More Information
.You can change order by setting in
Thanks.