Jump to content

Hide A Category In Block Categories Module?


Recommended Posts

Hello.

 

I would like to create a category "products" or "catalogue" that contain my other categories.

I will use this category to display all my products on my website.

But in my Block Categories module, I would like this category not to be displayed, so that it would be :

 

Category 1

- Subcat 1

- Subcat 2

- Subcat 3

 

Category 2

- Subcat 1

- Subcat 2

- Subcat 3

...

 

And not :

 

Products/Catalogue

- Category 1

- Subcat 1

- Subcat 2

- Subcat 3

 

- Category 2

- Subcat 1

- Subcat 2

- Subcat 3

 

I don't know if I can do this. :/

 

If I add a "{if $node.id != 21}" (21 being the id of my "catalogue/products" category) in my category-tree-branch.tpl file, It won't display the subcategories of "catalogue/products" while I want them to be displayed... :/

 

Thanks for helping me

Link to comment
Share on other sites

×
×
  • Create New...