1

Hi im new to the magento 2 development so i need some help here please.

I've managed to replace the more information(product.attributes) tab to the desired place. But i need to edit the view of this block but i cant find his location. Thanks in advance ! enter image description here

2

the "More information" is displaying from this file

magento2/vendor/magento/module-catalog/view/frontend/templates/product/view/attributes.phtml
Then override this file in your theme folder and In
magento2/vendor/magento/module-catalog/view/frontend/layout/catalog_product_view.xml
from this xml file below code is

<block class="Magento\Catalog\Block\Product\View\Attributes" name="product.attributes" as="additional" template="product/view/attributes.phtml" group="detailed_info">
                <arguments>
                    <argument translate="true" name="title" xsi:type="string">More Information</argument>
                </arguments>
            </block>

is the reference for More information tab.You can move it and change as per your requirements and Don't change files in Vendor please override it in your Theme directory..

  • Is it possible to change this title as per product category? – Ronak Parmar Dec 6 '18 at 9:23
  • 1
    @RonakParmar no you cannot add category title – gajjala sandeep Dec 8 '18 at 17:30
0

For those just looking for the required XML to change the text:

<referenceBlock name="product.attributes">
    <arguments>
        <argument translate="true" name="title" xsi:type="string">My string</argument>
    </arguments>
</referenceBlock>

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.