Magento 2: how to add custom extension to product photos

by Anya Moroz   Last Updated October 09, 2019 15:09 PM

I have a module that outputs an iframe. I need to place it in the place of the photographs, so that the photographs are also there. That is, the user can view photos and optionally switch to my module.

<?xml version="1.0"?><page layout="1columns" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>    
    <referenceContainer name="content">
        <block class="Magento\Framework\View\Element\Template"  template="Learning_Js::hello.phtml" />
    </referenceContainer>
</body>

referenceContainer name="content" - therefore it is at the end of the page. But need to place it with photos. Нelp me please

Tags : magento2


Related Questions