View Single Post
  #2  
Old 03-10-2006, 04:15 PM
 
Total Hosting Total Hosting is offline
 

Advanced Member
  
Join Date: Feb 2006
Posts: 52
 

Default

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.
__________________
Regards,

Peter Stoermer
http://www.TotalHosting.com for http://www.EmpowermentGroup.com
X-cart: 4.0.17
Reply With Quote