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
|