View Single Post
  #27  
Old 02-25-2006, 05:52 AM
 
Lionel Lionel is offline
 

Senior Member
  
Join Date: Dec 2005
Posts: 199
 

Default

I figured it out and am posting the soution in case someone else wants it.
(that's to use with TelaFirma's mod)

in recommends.php

after
Code:
if(!empty($products_id)) { foreach($products_id as $p) { $query_ids[] = $p['productid'];

simply put
Code:
$rec_thumb_url[]=func_get_thumbnail_url($p['productid']);
then at the bottom pass it on to smarty
Code:
$smarty->assign("rec_thumb_url",$rec_thumb_url);

finally in recommends.tpl

Code:
tmbn_url=$rec_thumb_url[num] id="product_thumbnail"

Now the images that we are able to display in recommends thanks to Balinor can take advantage of that most recommended mod of TelaFirma.
__________________
X-Cart Gold 4.0.17 [unix]
X-Cart Gold 4.0.18 [unix]
Reply With Quote