Hot answers tagged

1

1. Create XML Layout file checkout_index_index.xml in your theme path like below your-theme/Magento_checkout/view/frontend/layout/checkout_index_index.xml 2.Add Below Code in file checkout_index_index.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="checkout" xsi:noNamespaceSchemaLocation="urn:magento:...


1

You can use Magento\Framework\View\Element\Template class to call phtml files {{block class="Magento\Framework\View\Element\Template" template="Vendor_Module::myfiles/myfile.phtml"}} To call advanced form use Magento\CatalogSearch\Block\Advanced\Form block class. {{block class="Magento\CatalogSearch\Block\Advanced\Form" name="block_name" template="...


1

You added dynamically this way in content.php file inside _prepareLayout() fucntion $this->addChild( 'uploader', \Magento\Backend\Block\Media\Uploader::class, ['image_upload_config_data' => $this->imageUploadConfigDataProvider] ); Ex: /* add chiled as uploade block */ protected function _prepareLayout() { $this->addChild( ...


Only top voted, non community-wiki answers of a minimum length are eligible