View Single Post
  #2  
Old 06-12-2011, 01:47 PM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default Re: $subcat.product_count no longer works

Sorry to bump this, but I wondered if anybody had any ideas.

If I put

Code:
{$subcat.product_count} {$lng.lbl_product}{if $subcat.product_count > 1}s{/if}

then it displays

"1 product" (or however many products there are)

but if I put

Code:
{if $subcat.product_count}{$subcat.product_count} {$lng.lbl_product}{if $subcat.product_count > 1}s{/if}{/if}

it doesn't display anything! Surely if it displays a value for {$subcat.product_count} then {if $subcat.product_count} should work?
__________________
X-Cart Gold Version 4.3.2
Reply With Quote