I like to view my product page information details like "accordion-toggle" and let me need to add custom tab with static text in same page information details.

1 Answer 1


create below file in this location


<?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">
            <block class="Magento\Catalog\Block\Product\View" name="custom.tab" template="product/view/custom_tab.phtml" group="detailed_info" >
                    <argument translate="true" name="title" xsi:type="string">Cutom Tab</argument>

Go to this link


<?php echo __("test")?>
  • Thank you, I got a custom tab. I like to change tab design to toogle design, is there any idea to change ?
    – Priya
    Jun 21, 2019 at 6:28
  • @mohana which type you want to change in tab? Jun 21, 2019 at 6:32
  • Done. 1st all tab must be close onclick open drop down. please refer the link "codepen.io/syedrafeeq/pen/JroaYK" .
    – Priya
    Jun 21, 2019 at 6:35
  • @mohana you can customize in product page default tab remove and manally add after get all attributes Jun 21, 2019 at 6:36
  • Please can you send some reference link.?
    – Priya
    Jun 21, 2019 at 6:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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