View Single Post
  #70  
Old 11-29-2004, 12:50 PM
 
vortexonline vortexonline is offline
 

Member
  
Join Date: Nov 2004
Location: Albany, NY
Posts: 25
 

Default How would i set this up to do columns?

Quote:
Originally Posted by AJ-UKRS
and if you want to just have a bullet point image with the link, simply edit related_products.tpl in /xcart/skin1/modules/Upselling_Products/ to be the following:

Code:
{* $Id: related_products.tpl,v 1.7 2003/11/26 10:27:05 mAKI Exp $ *} {if $product_links ne ""} {capture name=dialog} <table border="0" cellpadding="2" cellspacing="2" width="100%" style="border-collapse: collapse" bordercolor="#111111"> {section name=cat_num loop=$product_links} <tr> <td width="1%">{include file="product_thumbnail.tpl" productid=$product_links[cat_num].productid image_x=30}</td> <td width="99%">{$product_links[cat_num].product|escape}</td> </tr> {/section} </table> {/capture} {include file="dialog.tpl" title=$lng.lbl_related_products content=$smarty.capture.dialog extra="width=100%"} {/if}

How can i get this to display in colums? Mabe 3 per column, and centered?
__________________
X-Cart 4.0.7
PHP 4.3.10
MySQL 4.0.22-standard
Reply With Quote