skip to Main Content

How to extend galley.phtml in Magento2?

I want to add custom code in gallery.phtml in the PDP section on my custom module. I tried this=> called default the block in catalog_product_view.xml <referenceBlock name="product.info.media.image"> <action method="setTemplate"> <argument name="template" xsi:type="string">Ajith_Mymodule::product/view/gallery.phtml</argument> </action> </referenceBlock> loaded gallery.phtml with and without default…

VIEW QUESTION
Back To Top
Search