2

In my layout file I created 2 new tabs. Both tabs appear, however one is nested below the other. I don't understand why Magento would do this behavior since I did not set any code that should trigger it. I actually cannot figure out how to stop it from doing it. See example

    <referenceBlock name="product.info.details">
      <block class="Magento\Catalog\Block\Product\View" name="installationcaretab" template="product/view/installation_care.phtml" group="detailed_info">
         <arguments>
            <argument translate="true" name="title" xsi:type="string">Installation and Care</argument>
         </arguments>
      </block>
    </referenceBlock>

    <referenceBlock name="product.info.details">
      <block class="Magento\Catalog\Block\Product\View" name="warrantytab" template="product/view/warranty.phtml" group="detailed_info">
         <arguments>
            <argument translate="true" name="title" xsi:type="string">Warranty</argument>
         </arguments>
      </block>
    </referenceBlock>

enter image description here

1 Answer 1

0

My problem is caused by a customization done to the template where the blocks are called/displayed. Not a real issue.

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.