This topic has 2 voices, contains 1 reply, and was last updated by TB Support 86 days ago.
Tagged: product count, shoppica2
ThemeBurn Support › Forums › OpenCart Themes › Shoppica 2 OpenCart Theme › How to remove product count in sidebar
This topic has been marked as not resolved.
Hi, I need to hide the product count in the sidebar of my website as they all keep showing as (0). I have unchecked this in the settings and also in the Shoppica2 CP.
Please can someone show me a way of hiding them as I don’t need people to know how many products aI have. See example screen shot.
1) Open catalog/view/theme/shoppica2/template/module/category.tpl.
2) Find these two code blocks and remove them:
<?php if ($module_instance['count']): ?> (<?php echo $child['products_count']; ?>)<?php endif; ?>
<?php if ($module_instance['count']): ?> (<?php echo $category['products_count']; ?>)<?php endif; ?>
P.S. Please have in mind that Shoppica 2 is no longer supported and updated. If you want the latest and greatest, please check Shoppica 3.x.
Register | Log in
Support forums are restricted to verified buyers only. To apply for access click the "Register" link above and follow the on screen instructions.
Product support is offered by forum only. Requests made by email or any other way will be redirected to the forum.