Skip to main content
2 of 5
added 78 characters in body
easymoden00b
  • 1.3k
  • 2
  • 26
  • 55

layered navigation isn't populated by collection attributes -- CMS page

Below is the code i'm using to display both the products and layered navigation on CMS pages. However, the layered navigation filter isn't being populated by attributes to allow for filtering.

<reference name="content">
        <!-- Layered Navigation Block -->
        <block type="catalog/layer_view" name="catalog.leftnav" template="catalog/layer/view.phtml" >
                <action method="setCategoryId"><category_id>2250</category_id></action>
        </block>
</reference>

<reference name="content">
        <block type="catalog/product_list" name="home" template="catalog/product/list.phtml">
                <!-- Product List View -->
                <action method="setCategoryId"><category_id>2250</category_id></action>
                <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
                        <block type="page/html_pager" name="product_list_toolbar_pager"/>
                </block>
                <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
        </block>
</reference> 

category, with id equal to '2250', has it's anchor attribute set to 'yes'.

easymoden00b
  • 1.3k
  • 2
  • 26
  • 55