Showing results for 
Search instead for 
Did you mean: 

Load layered navigation

Load layered navigation

I'm currently attempting to build a view "outside" of the normal view structure. Here is what I'm currnetly running:



$device = $this->getRequest()->getParam('device');

$category = Mage::getModel('catalog/category')->load($device);

$layout = Mage::app()->getLayout();

$list_block = $layout->createBlock('catalog/product_list');
$toolbar = $layout->createBlock('catalog/product_list_toolbar');

$list_block->setChild('toolbar', $toolbar);

$collection = $list_block->getLoadedProductCollection();



This is pulling the collection correctly and giving me the vendorlist.phtml file correctly, but I cannot figure out how to get the layered navigation loaded to show the filtering options for the current collection.




Re: Load layered navigation



Make sure you are creating page using the Magento standard way using XML.

There are multiple ways to add layer navigation if you follow create pages using XML.

Found something useful, please give "Kudos" or "Accept as Solution" for Token of Appreciation.
Free Magento Extensions :