2

I would like to display the layered navigation (as per the category left navigation) within a static block without modifying local.xml.

The intention is to convert parent categories into cms pages displaying the layered navigation of its sub-categories instead of having a no products match selection...

I know that a template already exists, being catalog/navigation/left.phtml but I don't know how to call such within the braces:

{{block type=""}}

Appreciate all the help

With best regards

Fab

Fab
  • 278
  • 4
  • 17

1 Answers1

4

The block type is: catalog/navigation, so the short-code would be:

{{block type="catalog/navigation" template="catalog/navigation/left.phtml"}}
Axel
  • 10,732
  • 2
  • 30
  • 43
  • Thanks Axel, that was fast. Just wanted to ask is there a way not to display the products count? – Fab Jan 13 '14 at 23:05
  • 2
    Yes, simply make a copy of `catalog/navigation/left.phtml` to a different file, say: `catalog/navigation/left-nocounts.phtml` and remove the instance of: `(getProductCount() ?>)` from the new file. Then set your block code to use that new file: `{{block type="catalog/navigation" template="catalog/navigation/left-nocounts.phtml"}}` – Axel Jan 13 '14 at 23:08