How can I get the all attributes together in one page for the each of categories (layered navigation)
<?php //echo 'Rahul singh'; $layer = Mage::getModel("catalog/layer"); $category = Mage::getModel("catalog/category")->load(3); $layer->setCurrentCategory($category); $attributes = $layer->getFilterableAttributes(); foreach ($attributes as $attribute) { echo $attribute->getAttributeCode().'<br />'; if ($attribute->getAttributeCode() == 'price') { $filterBlockName = 'catalog/layer_filter_price'; } elseif ($attribute->getBackendType() == 'decimal') { $filterBlockName = 'catalog/layer_filter_decimal'; } else { $filterBlockName = 'catalog/layer_filter_attribute'; } $result = Mage::app()->getLayout()->createBlock($filterBlockName)->setLayer($layer)->setAttributeModel($attribute)->init(); foreach($result->getItems() as $option) { echo $opt...