How to call any template inside phtml file magento

Posted by on May 4, 2013 in Magento, Php | No comments yet

Sometimes you want to call a block inside a .phtml file without defining in layout. In this case, we can use a method called toHtml of a block. Assume that we have a block called Mymodule and a template that …

How to add static blocks inside the phtml file

Posted by on Dec 10, 2012 in Magento | No comments yet

We can insert the static blocks inside an phtml file by using the identifier of the static block we created in the admin panel of magento Here is the code to do so, In this case identifier must be replaced …

Load More