Quote:
Originally Posted by balinor
Try:
{if $cat eq "x"}code to show{/if}
Replace x with the category id number. Haven't tested this with 4.4, but if that doesn't work we can try another smarty variable.
|
This works on 4.4.2. Thanks balinor.
How can I have this work for both a category and its subcategories? Now, this code shows featured products for a "x" category, but not the subcategories of "x".
I appreciate any help.