View Single Post
  #39  
Old 08-09-2006, 11:29 PM
 
Sarnix Sarnix is offline
 

Member
  
Join Date: Jul 2006
Posts: 10
 

Default

As Hyperdelicious said, it doesnt seem to be working in x-cart 4.1.
I believe there are only 2 arrays present in the template that contain categories.
* $categories, which contains the toplevel categories.
* $subcategories, which contains the subcategories of the current category.
Is this correct?
And if it is I assume the only thing get the subcats of the parent category is to perform an extra query and assign the results to smarty?

I think the nicest thing to use would be that the category structure is available as a tree
__________________
X-Cart Gold 4.1.2 + X-Affiliate on LAMP server
Reply With Quote