Can any one tell me how to change the text of detail tab in product page.

check the site url :http://apetrailportfolio.com/mod/demo9.html

  • which theme you are using – Manoj Deswal Jan 15 '18 at 6:25


<?xml version="1.0"?>

<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
        <referenceBlock name="product.info.details">
            <referenceBlock name="product.info.description">
                    <argument translate="true" name="title" xsi:type="string">About</argument> //set your custom tab name

            <referenceBlock name="reviews.tab">
                    <argument translate="true" name="title" xsi:type="string">Customer Reviews</argument> //set your custom tab name

  • Hey, It's working fine. how to find the name "reviews.tab" i can't find in the "vendor\magento\module-catalog\view\frontend\layout\catalog_product_view.xml ". – Srinivasan Lakshmanan Jun 20 at 8:52

Open your custom theme catalog_product_view.xml


And add below code in the end of you XML file before body tag

 <referenceBlock name="product.info.description">
                <action method="setTitle">
                    <argument name="title" xsi:type="string">Your text here</argument>

Keep cache disabled or clear your cache

  • It's a working solution and pure magento way of changing tab name – Manoj Deswal Jul 3 '18 at 8:02

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.