Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

disable count product


ilfriz80

Recommended Posts

Posted

Hi, :thumbsup:

how can I disable "count" of the product in the categories tree?

 

I noticed this parte of code that I thing is important:

function tep_show_category($counter) {

global $tree, $categories_string, $cPath_array;

 

for ($i=0; $i<$tree[$counter]['level']; $i++) {

$categories_string .= "  ";

}

 

$categories_string .= '<a href="';

 

if ($tree[$counter]['parent'] == 0) {

$cPath_new = 'cPath=' . $counter;

} else {

$cPath_new = 'cPath=' . $tree[$counter]['path'];

}

 

$categories_string .= tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">';

 

if (isset($cPath_array) && in_array($counter, $cPath_array)) {

$categories_string .= '<b>';

....

...

 

 

COULD YOU HELP ME?

THANK YOU

:blush:

Archived

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

×
×
  • Create New...