Actually, if anyone has done a posting on coding for products.tpl vs. product.tpl, please let me know.
I am trying to test for a category ID to set up an If/Else to display extra text if the customer is on a certain categorical listing. This would also need to apply to when products from that category are Featured.
I have the product.tpl working, but I cannot figure out how to hack around in products.tpl
For instance, what am I doing wrong:
{if $products[product].categoryid == 26}
or
{if $products[product].cat == 26}
I even tried, amongst others
{if $cat == 26}
Would appreciate any help.
|