View Single Post
  #6  
Old 11-03-2002, 09:11 AM
 
Jeannie Jeannie is offline
 

eXpert
  
Join Date: Sep 2002
Location: Texas
Posts: 257
 

Default

This is from my modules/Upselling_Products/related_products.tpl Combination of codes others posted. Removes product id from upsell and inserts product image.
Remember to copy your code before changing in case it botches things up for you in your cart version.


Code:
{* $Id: related_products.tpl,v 1.6 2002/05/20 06:55:24 lucky Exp $ *} {if $product_links ne ""} {capture name=dialog} <table border=0 cellspacing=5> {section name=cat_num loop=$product_links} <td width=100%> [img]../image.php?productid={$product_links[cat_num].productid}[/img]<font class=TableCenterSubCategoryListTitleBlue>{ $product_links[cat_num].product|escape}</font> </td> </tr> {/section} </table> {/capture} {include file="dialog.tpl" title=$lng.lbl_related_products content=$smarty.capture.dialog extra="width=100%"} {/if}
Reply With Quote