How to remove product count in sidebar

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart ThemeHow 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.

Thanks

September 8, 2017 at 1:48 pm #61486

Hi,

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.

BR,
ThemeBurn team

September 18, 2017 at 11:54 am #61693
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.