Using a separate template for this process (copy categories.tmpl to whatever)
Change:
Quote:
for ( $x=0; $x < $cats['catcount']; $x++ ) {
if ( $cats['dodetails'][$x] == 1 ) {
|
To:
Quote:
for ( $x=0; $x < $cats['catcount']; $x++ ) {
if ( $cats['numproducts'][$x] < 1 )
continue;
if ( $cats['dodetails'][$x] == 1 ) {
|