Monday, 16 May 2016

how to call a custom phtml file on CMS Page and blocks (Admin panel) magento 2


Calling in blocks and cms pages

{{block class="Magento\Framework\View\Element\Template" name="test_file" template="Magento_Theme::html/test.phtml"}}

1 comment:

  1. for "Call Phtml file on CMS Page" Magento 2 check this
    http://www.onlinecode.org/call-phtml-file-cms-page-magento2/

    ReplyDelete