View Single Post
  #2  
Old 03-08-2004, 05:21 PM
 
concepts concepts is offline
 

Senior Member
  
Join Date: Nov 2003
Posts: 104
 

Default

which cats? The side bar or the one in the middle which list sub cats also? Thats products.tpl

Anyway, find the code that shows the # of products inside the tpl

I am too lazy to look, maybe someone can post the code.

for example sake, lets just call it $productcount or whatever

{if $productcount eq 0}
&nbsp (if you run a table or whatever) blank
{elseif $productcount ne 0}
category name here (original section which shows the categories name)
{/if}

I am using elseif because I think there is already an else call somewhere in there already.
Reply With Quote