“cara memanggil satu file phtml di file phtml lain di magento2” Kode Jawaban

cara memanggil satu file phtml di file phtml lain di magento2

<?php echo $this->getLayout()->createBlock("Magento\Framework\View\Element\Template")->setTemplate("Magestore_Webpos::login.phtml")->toHtml() ?>
Combative Crocodile

cara memanggil satu file phtml di file phtml lain di magento2

<?php echo $this->getLayout()->createBlock("Magento\Framework\View\Element\Template")->setTemplate("Vendor_Module::custom.phtml")->toHtml();?>
Combative Crocodile

Jawaban yang mirip dengan “cara memanggil satu file phtml di file phtml lain di magento2”

Pertanyaan yang mirip dengan “cara memanggil satu file phtml di file phtml lain di magento2”

Lebih banyak jawaban terkait untuk “cara memanggil satu file phtml di file phtml lain di magento2” di HTML

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya