Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Nested Subcategory Listing on index.php


krnl

Recommended Posts

Hi,

 

I would like to list subcategories when I am in the second level category. i.e...

 

index.php?cPath=51 shows:

 

subcat1 subcat2 subcat3

 

subcat4 subcat5 subcat6

 

When I go to a subcategory (2nd level) like index.php?cPath=51_200 I have three subcategories below that (3rd level), and I want to list them above the category product listings just as subcategories are listed when I am in a top level (parent) category.

 

index.php?cPath=50_201 just skips straight to the product listings and does not list the subcategories (cPath=51_201_348, cPath=51_201_349 and cPath=51_201_350)

 

To see what I mean, please look at This Page <- I want subcategories on this page

 

I want the subcategories listed like they are on This Page.

 

I know the area of index.php that needs to be changed, but the queries and loops have me befuddled as to how to do what I want.

 

Can someone assist?

 

Thanks for your time.

Rick

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...