Code:
{section name=prod loop=$products}
<TR{cycle values=", class=TableSubHead"}>
<TD width="5"><INPUT type="checkbox" name="productids[{$products[prod].productid}]"></TD>
<TD>
{$products[prod].productcode}</TD>
<TD width="100%">{if $products[prod].main eq "Y" or $main ne "category_products"}
{/if}{$products[prod].product|truncate:35:"...":false}{if $products[prod].main eq "Y" or $main ne "category_products"}{/if}</TD>
{if $main eq "category_products"}
<TD><INPUT type="text" size="9" maxlength="10" name="posted_data[{$products[prod].productid}][orderby]" value="{$products[prod].orderby}"></TD>
{/if}
<TD><INPUT type="text" size="9" maxlength="10" name="posted_data[{$products[prod].productid}][avail]" value="{$products[prod].avail}"></TD>
<TD><INPUT type="text" size="9" maxlength="15" name="posted_data[{$products[prod].productid}][price]" value="{$products[prod].price}"></TD>
</TR>
{/section}
You owe me $7000 now.