Magento 2: how to add custom extension to product photos

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

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="" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <referenceContainer name="content">
        <block class="Magento\Framework\View\Element\Template"  template="Learning_Js::hello.phtml" />

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