Topic: Related to leftmenu... sub-sub-categories

I've been playing around with sub-sub-categories and I can't get them to display on leftmenu or anywhere else but product/product_category_list . For example, let's say I have:

[b]Music
-Instruments
-Albums
--Seasonal
---Christmas
----Religious
----Silly
---Easter
etc.

I'll have "Instruments" and "Albums", show up, but anything deeper won't.

The only place I can find that will go to all levels is product/html/product_category_list.ihtml (actually product/lib/ps_product_category.inc | traverse_tree_down() )
but that is a specific function.

Am I missing something more generic or should I have to try to figure out the recursive logic in that function and write something more generic that will display more than 1 level deep?

(OK, so I went color-crazy trying to show these categories clearly.)

That which is, is; that which is not, is not; that which is, is not that which is not; that which is not, is not that which is.

Re: Related to leftmenu... sub-sub-categories

Your best bet would be to create a function based on the travers_tree_down one, but take out the bits you don't want. From a quick perusal, I suggest the following lines can be removed for your menu version...

[code]$product_count = $this->product_count($db->f("category_child_id"));



echo "&#095_|$level|

If all else fails, read the instructions (or at least the FAQ)

My phpShop hacks and modules