Add wholesale fast order to template file

Created by Jane D, Modified on Mon, 05 Aug 2019 at 06:18 PM by Jane D

Can I add your Magento 2 Wholesale Fast Order form directly to template file? Your user guide explain how to add it cms page. But I want to add it template file. 


Thank you for contacting us.
About your question,  you can add to your template file.

May you copy this: <?php echo $this->getLayout()->createBlock('Bss\FastOrder\Block\FastOrder')->setTemplate("Bss_FastOrder::fastorder.phtml")->toHtml(); ?>

And paste into your template file.
Looking to hear from you.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article