View Single Post
  #1  
Old 08-13-2004, 08:06 AM
 
pipercub pipercub is offline
 

Advanced Member
  
Join Date: Oct 2002
Posts: 82
 

Default List Categories AND Subcategories in categories.tpl....

By default x-cart will list the Main categories as normal such as:

Cat 1
Cat 2
Cat 3
Cat 4

However, I want the categories.tpl to show them as:

Cat 1
Sub 1A
Sub 1B
Cat 2
Sub 2A
Sub 2B
etc...

First, I unchecked the 'root categories' checkbox under General Settings. However, this just replaces the category meny with sub categories after you click on a parent caregory first. Furthermore, it only shows the subcategories of the Parent you clicked on.

Regardless of which category or sub category you click on, I want the menu to always show the entire category 'tree'. I did play around in the categories.tpl for a few hours and I got close a few times, but not exactly how I wanted to see it.

Now, I do know that there is a 'Fancy Categories" Add-On, but I really don't want all of the "interactivity" that it offers. I just want a palin and simple category "tree".

Has anyone done this to x-cart without "Fancy Categories"? Or, should I just buy the Add-On and try to mod it to reflect my goal?

Thanks,
Piper


v3.5.x
__________________
x-cart 3.4.4 (UNIX)
Reply With Quote