Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

removing numbers from quantities?


Guest

Recommended Posts

How can i do this?

 

I do not wish to display the number of options in the categories box?

 

 

I tried wiki but could not loate anything!

Link to comment
Share on other sites

Hi, fi you're talking about removing the number and bracket that follows the categories listing eg Hardware (8) etc.

 

Open catalog/includes/boxes/categories.php

 

Find the following code

 

    if (SHOW_COUNTS == 'true') {

     $products_in_category = tep_count_products_in_category($counter);

     if ($products_in_category > 0) {

       $categories_string .= ' (' . $products_in_category . ')';

     }

   }

 

and comment it out like this

 

//    if (SHOW_COUNTS == 'true') {

//      $products_in_category = tep_count_products_in_category($counter);

//      if ($products_in_category > 0) {

//        $categories_string .= ' (' . $products_in_category . ')';

//      }

//    }

 

back up before you try.

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...