View Single Post
  #2  
Old 05-20-2008, 02:35 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Add category name to Upsells List

Quote:
Originally Posted by matthewstroh
Does anyone know how to add the category name of an upsell item to the upsell list in related_products.tpl? I tried to use the following bit of code but it didn't work, though it seemed intuitive given the way the other variables on that page are served.

Code:
{$product_links[cat_num].category}


Also, I tried to add the following to my /include/func/func.product.php file to see if I could get it to pull the category from there, but no luck.
Code:
$fields[] = "$sql_tbl[products].category";


Anybody have any ideas?

The table "products" does not have a field "category" ))
Reply With Quote