Contributions

InfoBoxes (Category Index)
Search: 

Categories : display only top categories v1.0

This "Categories" box displays only top-level categories.

1) Unzip in catalog/includes/boxes.
2) Edit catalog/includes/column_left.php and change 'categories.php' to 'top_categories.php'

That's it!

Expand All / Collapse All

display only top categories with product count 1.3 14 Jan 2009

A small modification to this nice and neat contribution - I wanted to have a sum of all the products in the top category and its subcategories displayed after the top category name.

With the following corrections:
-correct count even if product is in multiple categories
-no longer counts disabled products

So if you don't want a product count behind the category name then use Christian's contribution below.

Installation:
1) Unzip in catalog/includes/boxes.
2) Edit catalog/includes/column_left.php and change 'categories.php' to 'top_categories.php'

display only top categories v1.0 with product count 18 Dec 2008
top categories v1.0 with product count 18 Dec 2008
Categories : display only top categories v1.0 Christian Lescuyer 9 Apr 2003

Note: Contributions are used at own risk.