Jump to content

How to show number of products per category? (RESOLVED)


Recommended Posts

This data is provided to the skin. It just becomes necessary to figure out how to display it.

Try this. Using a programmer's text editor, make the following edits to the template file element.navigation_tree.php:

Lines 4,9, and 14, change this:

To this:
{$BRANCH.name} ({$BRANCH.product_count})

Have CubeCart clear its internal cache after saving this edit.

This simply appends the product count in parentheses to the category name. Anything more than this may require some fancy CSS rule changes.


Link to comment
Share on other sites

  • webbunny changed the title to How to show number of products per category? (RESOLVED)

Join the conversation

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

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...