Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Feature Request: Subcategories Displayed on Product Listing


Recommended Posts

For instance, the category below (with products in it) also has sub-categories:




I need to be able to show the sub-categories beneath the list of products, because otherwise it's not obvious that they exist.

(a quick glance at the tree-structure box will often miss them)


I suppose I could always put the spare covers in with the other products, but, I don't wanna :D


On a related note, has anyone considered a hack which 'greys out' all parts of the tree which you are not currently browsing? This would make it slightly easier to see any listed subcategories.

Hi mom!

Link to comment
Share on other sites

  • 3 months later...
After much hair-pulling, I've just posted a contribution that addresses this:




Preview at:


(LIVE shop - orders will be billed & delivered)


Hope it helps!




Ahem, yes it helps, thanks :D

Hi mom!

Link to comment
Share on other sites

This is a very nice mod. The only problem is, you cannot show the sub categories if you have products in one of the top level categories. I tried modifying the script somewhat.



if (isset($cPath) && ereg('_', $cPath))


if (isset($cPath))


This fixed my problem, but caused another problem when displaying products by manufacturer. I got the error:


Warning: Argument to array_reverse() should be an array in F:FoxServwwwcatalogdefault.php on line 298


Any Ideas on fixing the problem.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...