Magento: Add a custom block inside another block
You can add custom blocks inside already existing block through your custom layout xml file. You don’t need to change the template (phtml) code. Suppose, you want to add a block inside product view page. To do so, you can write the following xml code in your custom module’s layout file. In the below code, … Read more