View Single Post
  #1  
Old 04-22-2009, 03:54 AM
 
retrtrtrytrutru retrtrtrytrutru is offline
 

Senior Member
  
Join Date: Aug 2007
Posts: 101
 

Default Multiple columns in

Hi everyone,

I cannot figure out how to do this, searched the forums and I found some threads but they're too complicated for me.. Please take a look at the following page:

http://www.vervangjelamp.nl/Losse-Beamerlampen-Projector-Lampen/

Notice there are 3 products displayed.. I want rows of 2 products. The template used is customer/main/products_list.tpl:

Code:
<center> <table cellspacing="0" cellpadding="3" border="0"> <tr> {foreach from=$products item=product} {assign var="url" value="product.php?productid=`$product.productid`&amp;cat=`$cat`&amp;page=`$navigation_page`"} <td align="center"><a href="{$url}">{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.tmbn_x image_y=$product.tmbn_y product=$product.product tmbn_url=$product.tmbn_url}</a><br /><a href="{$url}" class="product-title">{$product.product|escape}</a> ({include file="currency.tpl" value=$product.taxed_price})</td> {/foreach} </tr> </table> </center>
I've tried experimenting with a {section loop} but this doesn't work.. at all Anyone who can point me in the right direction? Thanks!
__________________
www.qualitylamps.eu
X-Cart Gold 4.1.8, PHP 5.2.6, MySQL 5.0.51a, Apache 2.2.9

www.vervangjelamp.nl
X-Cart Gold 4.2.0, PHP 5.2.6, MySQL 5.0.37-standard, Apache/2

Sorry for the weird user name, I registered it by mistake
Reply With Quote