I have a layered navigation module inside my Magento 2 custom created theme.
Now, I have to use this layered nav module's phtml file to another module just like catalog module's phtml file.
Can anyone please tell me how to do this?
Thanks in advanced.
Best Answer
you solution is here use this code in phtml file where u want to call layered navigation and set name of that block
getLayout()->getBlock('catalog.leftnav')->toHtml();?>