Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can you remove the # of products displayed in each category?


iwillrefuse

Recommended Posts

I have two categories, but would like the remove the displayed number of products in each category. Is this possible to do by editing a script?

 

Thanks.

 

 

go to your (catalog)/includes/boxes/categories.php and look for this code

 

if (SHOW_COUNTS == 'true') {
$products_in_category = tep_count_products_in_category($counter);
if ($products_in_category > 0) {
$categories_string .= ' (' . $products_in_category . ')';
}
}

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Link to comment
Share on other sites

I have two categories, but would like the remove the displayed number of products in each category. Is this possible to do by editing a script?

 

Thanks.

 

:D Hi

if you go into your admin panel , configuration, My Store.

 

You will find an item near the bottom of the list "Show categorie counts". Highlight this and edit it to show

"false". This will then stop showing the number of items against the categories.

 

You will also find mention of this in the "PDF" manual that is included with the "OSC" download.

 

Dave

 

:thumbsup:

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...