View Single Post
  #4  
Old 06-19-2008, 06:06 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Short description for Product Recommends

Quote:
Originally Posted by tqualizerman
I just did, but nothing is returned -- just blank.

I am not sure that this is a good solution, but it was invented for 5 minutes.

Open file "include/func/func.product.php" and find next lines:
PHP Code:
$fields[] = "$sql_tbl[products].productid";
    
$fields[] = "$sql_tbl[products].provider"

add after this text next line:
PHP Code:
$fields[] = "$sql_tbl[products].descr"

.... now you can use in the template /modules/Recommended_Products/recommends.tpl variable:

{$recommends[num].descr}
Reply With Quote