View Single Post
  #1  
Old 05-19-2008, 01:59 PM
  matthewstroh's Avatar 
matthewstroh matthewstroh is offline
 

Member
  
Join Date: Oct 2007
Location: Portland, OR.
Posts: 16
 

Default Add category name to Upsells List

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?
__________________
Matthew Stroh
Version 4.1.9
Reply With Quote