Hey Guys,
I've seen this question asked before (http://www.zen-cart.com/forum/showthread.php?p=574247) and I feel like I shall annoy you all by almost repeating the question again.
Simply put, I'd like to modify the category listing so that any category with a subcategory is automatically linked to the first subcategory linked to it.
For instance, say you have index.php?main_page=index&cPath=3 and in that category there are 3 subcategorys - 4, 5 and 6.
Instead of linking to a category listing page, I'd like it to be displayed as index.php?main_page=index&cPath=3_4.
I've looked at modifying functions/functions_categories.php, which I will probably resort to doing (as there is a function called zen_has_category_subcategories on line 99) but I'm wondering if you guys could give me a headstart, or give any alternatives.
I've looked at using the javascript tree menu, so when the customer clicks the main category, it just displays a list of subcats below - this is a great solution, but as we use Template Monster (hmph) quite a lot and after some testing, I noticed that the module clashes with the stylesheet frequently.
Any advice would be fantastic.
Thanks![]()



