2

I want to change order of Details Tab to very first in product detail page. How can achieve this?

3

In Your Custom theme, you need to extend the catalog_product_view.xml file in magento catalog module if not extended (added).

in this file add move tag to change the tab order.

Like :

<move element="name.of.an.element" destination="name.of.destination.element"  before="name.of.element.before"/>

So in your case :

<move element="product.attributes" destination="product.info.details"  before="product.info.description"/>

Hope it solves your concern.

For Magento 2.3.2 (as tested)

<referenceBlock name="product.info.details">
                <referenceBlock name="product.info.description">
                    <arguments>
                        <argument name="sort_order" xsi:type="string">20</argument>
                    </arguments>
                </referenceBlock>
                <referenceBlock name="product.attributes">
                    <arguments>
                        <argument name="sort_order" xsi:type="string">10</argument>
                    </arguments>
                </referenceBlock>    
            </referenceBlock>

using sort_order arguments to manage order (move tag will not work)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.