want to call one phtml file in another phtml file using anchor tag

前端 未结 6 815
迷失自我
迷失自我 2021-02-06 16:47

I\'m using Magento.

I want display and call one phtml file as a link in another phtml file…

I have the new.phtml file on t

6条回答
  •  执念已碎
    2021-02-06 17:30

    getLayout()->createBlock('core/template')->setTemplate('catalog/product/new.phtml')->toHtml(); ?>
    

    you can also check the link.

    Display .phtml page in another .phtml page

提交回复
热议问题