webbunny Posted November 24, 2023 Share Posted November 24, 2023 (edited) I am using the latest version of Cubecart and the 'amzn' theme. I would like to display how many products are in each category. Is this possible? Edited December 4, 2023 by webbunny Quote Link to comment Share on other sites More sharing options...
bsmither Posted November 24, 2023 Share Posted November 24, 2023 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: {$BRANCH.name} 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.