QuestionsMagento2 – How to show a block content on page
mmWebetutorial Staff asked 5 months ago

Here is a shortcode which could add in you magento 2 CMS pages to display your custom file functionality.

 

{{block class=”Vendor\ModuleName\Block\BlockName” template=”Vendor_ModuleName::yourcustomblockfile.phtml”}}

Your Answer
Login
Enter email and password to comment or answer
Not the answer you are looking for? Browse other questions tagged or ask your own question.