View Single Post
  #1  
Old 12-27-2005, 06:06 AM
 
Paul H Paul H is offline
 

eXpert
  
Join Date: Sep 2005
Posts: 246
 

Default Display of Related products ?

I managed to get my related products to show with a thumbnail and eventually got them to resize to 150 but now i need to know how to display them in 2 colum format.

Here's my code so far

Code:
{* $Id: related_products.tpl,v 1.10.2.1 2004/10/07 10:52:42 max Exp $ *} {if $product_links ne ""} {capture name=dialog} <TABLE border="0" cellspacing="0" height="278" width="264" cellpadding="0" bordercolor="#333333"> {section name=cat_num loop=$product_links} <TR class="ItemsList"> <TD width="41%"><A href="product.php?productid={ $product_links[cat_num].productid }"{if $config.Modules.upselling_new_window eq 'Y'} target="_blank"{/if}>{include file="product_thumbnail.tpl" productid=$product_links[cat_num].productid image_x=150}</A></TD> </TR> <TR class="ItemsList"> <TD><A href="product.php?productid={ $product_links[cat_num].productid }"{if $config.Modules.upselling_new_window eq 'Y'} target="_blank"{/if}>{ $product_links[cat_num].product} </A> </TD> </TR> <TR class="ItemsList"> <TD></TD> </TR> {/section} </TABLE> {/capture} {include file="dialog.tpl" title=$lng.lbl_related_products content=$smarty.capture.dialog extra="width=100%"} {/if}
__________________
Xcart Gold 4.1.11-Gone
= 4.7.11-Live
Reply With Quote