Jump to content

Layered Navigation, how to not show when only X products are shown in category?


Recommended Posts

I'm having a hell of a time hooking this block so that the expanding category list doesn't throw the selection box off the main page. Currently I've hooked it to the top of the page and though the position varies slightly it works except when there are 2 or less products where is shows over the footer area.

 

Truth is my single price filter isn't really needed with 2 products so I would like to add a conditional but as simple as it seems I can't get it to work.

 

So how can I add a conditional in .tpl or .php so I can note the number of products under which I don't want the filter block to display.

Edited by DBMAN (see edit history)
Link to comment
Share on other sites

Sorry for bump but have to believe this is an easy one despite my ineptness.

 

I just can't find the right variable name to use despite my attempts. I simply only want the layered filter to come up when there are more then 4 products in a category/subcategory.

Link to comment
Share on other sites

×
×
  • Create New...