3 formatting
source | link

To extend default tabs on PDPPDP use this structure

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

To create new tab group i think you need:

  1. Copy module-catalog/view/frontend/templates/product/view/details.phtmlmodule-catalog/view/frontend/templates/product/view/details.phtml template
  2. Set different name for file and modify line

    $block->getGroupChildNames('detailed_info', 'getChildHtml') to $block->getGroupChildNames('my_tab_group', 'getChildHtml')

3 add this layout to catalog_product_view.xml

    <block class="Magento\Catalog\Block\Product\View\Description" name="my.new.tabs" template="product/view/new_details.phtml" after="product.info.media">
        <block class="Magento\Catalog\Block\Product\View\Attributes" name="product.attributes" as="additional" template="product/view/attributes.phtml" group="my_tab_group">
            <arguments>
                <argument translate="true" name="title" xsi:type="string">More Information</argument>
            </arguments>
        </block>
    </block>

To extend default tabs on PDP use this structure

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

To create new tab group i think you need:

  1. Copy module-catalog/view/frontend/templates/product/view/details.phtml template
  2. Set different name for file and modify line

    $block->getGroupChildNames('detailed_info', 'getChildHtml') to $block->getGroupChildNames('my_tab_group', 'getChildHtml')

3 add this layout to catalog_product_view.xml

    <block class="Magento\Catalog\Block\Product\View\Description" name="my.new.tabs" template="product/view/new_details.phtml" after="product.info.media">
        <block class="Magento\Catalog\Block\Product\View\Attributes" name="product.attributes" as="additional" template="product/view/attributes.phtml" group="my_tab_group">
            <arguments>
                <argument translate="true" name="title" xsi:type="string">More Information</argument>
            </arguments>
        </block>
    </block>

To extend default tabs on PDP use this structure

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

To create new tab group i think you need:

  1. Copy module-catalog/view/frontend/templates/product/view/details.phtml template
  2. Set different name for file and modify line

    $block->getGroupChildNames('detailed_info', 'getChildHtml') to $block->getGroupChildNames('my_tab_group', 'getChildHtml')

3 add this layout to catalog_product_view.xml

    <block class="Magento\Catalog\Block\Product\View\Description" name="my.new.tabs" template="product/view/new_details.phtml" after="product.info.media">
        <block class="Magento\Catalog\Block\Product\View\Attributes" name="product.attributes" as="additional" template="product/view/attributes.phtml" group="my_tab_group">
            <arguments>
                <argument translate="true" name="title" xsi:type="string">More Information</argument>
            </arguments>
        </block>
    </block>
2 edited the content format
source | link

To extend default tabs on PDP use this structure

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

To create new tab group i think you need:

1 copy module-catalog/view/frontend/templates/product/view/details.phtml template

2 Set different name for file and modify line $block->getGroupChildNames('detailed_info', 'getChildHtml') to $block->getGroupChildNames('my_tab_group', 'getChildHtml')

  1. Copy module-catalog/view/frontend/templates/product/view/details.phtml template
  2. Set different name for file and modify line

    $block->getGroupChildNames('detailed_info', 'getChildHtml') to $block->getGroupChildNames('my_tab_group', 'getChildHtml')

3 add this layout to catalog_product_view.xml

    <block class="Magento\Catalog\Block\Product\View\Description" name="my.new.tabs" template="product/view/new_details.phtml" after="product.info.media">
        <block class="Magento\Catalog\Block\Product\View\Attributes" name="product.attributes" as="additional" template="product/view/attributes.phtml" group="my_tab_group">
            <arguments>
                <argument translate="true" name="title" xsi:type="string">More Information</argument>
            </arguments>
        </block>
    </block>

To extend default tabs on PDP use this structure

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

To create new tab group i think you need:

1 copy module-catalog/view/frontend/templates/product/view/details.phtml template

2 Set different name for file and modify line $block->getGroupChildNames('detailed_info', 'getChildHtml') to $block->getGroupChildNames('my_tab_group', 'getChildHtml')

3 add this layout to catalog_product_view.xml

    <block class="Magento\Catalog\Block\Product\View\Description" name="my.new.tabs" template="product/view/new_details.phtml" after="product.info.media">
        <block class="Magento\Catalog\Block\Product\View\Attributes" name="product.attributes" as="additional" template="product/view/attributes.phtml" group="my_tab_group">
            <arguments>
                <argument translate="true" name="title" xsi:type="string">More Information</argument>
            </arguments>
        </block>
    </block>

To extend default tabs on PDP use this structure

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

To create new tab group i think you need:

  1. Copy module-catalog/view/frontend/templates/product/view/details.phtml template
  2. Set different name for file and modify line

    $block->getGroupChildNames('detailed_info', 'getChildHtml') to $block->getGroupChildNames('my_tab_group', 'getChildHtml')

3 add this layout to catalog_product_view.xml

    <block class="Magento\Catalog\Block\Product\View\Description" name="my.new.tabs" template="product/view/new_details.phtml" after="product.info.media">
        <block class="Magento\Catalog\Block\Product\View\Attributes" name="product.attributes" as="additional" template="product/view/attributes.phtml" group="my_tab_group">
            <arguments>
                <argument translate="true" name="title" xsi:type="string">More Information</argument>
            </arguments>
        </block>
    </block>
1
source | link

To extend default tabs on PDP use this structure

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

To create new tab group i think you need:

1 copy module-catalog/view/frontend/templates/product/view/details.phtml template

2 Set different name for file and modify line $block->getGroupChildNames('detailed_info', 'getChildHtml') to $block->getGroupChildNames('my_tab_group', 'getChildHtml')

3 add this layout to catalog_product_view.xml

    <block class="Magento\Catalog\Block\Product\View\Description" name="my.new.tabs" template="product/view/new_details.phtml" after="product.info.media">
        <block class="Magento\Catalog\Block\Product\View\Attributes" name="product.attributes" as="additional" template="product/view/attributes.phtml" group="my_tab_group">
            <arguments>
                <argument translate="true" name="title" xsi:type="string">More Information</argument>
            </arguments>
        </block>
    </block>