Friday 16 December 2005 3:12:19 am
John, Not sure i´m on the spot here but to spread your products in a two-column table when looping through your items check out the {delimiter}-operator. Take a look at sitemap.tpl to get at grip on looping, tables and delimiter. Some pseudo-code to give a hint could look something like:
{let your_products=fetch( .. fetch-conditions .. ) }
<table>
<tr>
{section name=product loop=$your_products ...}
<td>{$product.whatever}</td>
{delimiter modulo=2}
</tr>
<tr>
{/delimiter}
</tr>
</table>
{/section}
{/let}
(I have not been working with the shop-module so maybe the fetch-things are not relevant here but the delimiter-thingy seems to be what you are looking for) /martin
EzP 3.5.0, OE 2.0
RH-EL3 2.4, mySql 4.1.7, php 4.3.9, apache 1.3.33
|