I wanted to duplicate the “page.main.title” element on the product pages, so I added this block to my catalog_product_view.ml
<block class="MagentoThemeBlockHtmlTitle" name="title.additional2" template="Magento_Theme::html/title.phtml">
<arguments>
<argument name="css_class" xsi:type="string">product</argument>
<argument name="add_base_attribute" xsi:type="string">itemprop="name"</argument>
</arguments>
</block>
I want to add this block because I moved “page.main.title” elsewhere on the page.
<move element="page.main.title" destination="page.top" before="breadcrumbs" />
“page.main.title” displays the product name, but my new block (title.additional2) displays the content of the meta title and I don’t understand why?
Thanks in advance if anyone can explain this result to me.
Good day