[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Adding Quantity to Page
I am using the following code to display a list of products from the
database in a table.
I need to replace the checkbox with a quantity field. What do I need
to change?
Also, is it necessary to have two sort statements or can they be
combined into one?
<table cellpadding=5>
<tr>
<th>Course #</th>
<th>Description</th>
<th>Price</th>
</tr>
<FORM METHOD=POST ACTION="[process_order]">
[loop search="ra=yes/fi=products"
sort=products:category:f
sort=products:sku:f"]
<tr>
<td><input type=checkbox name="mv_order_item" value=[loop-code]></td>
<td>[loop-field comment]</td>
<td align=right>[loop-field price]</td>
</tr>
[/loop]
</table>
<input type=hidden name="mv_doit" value="refresh">
<input type=submit name="mv_junk" value="Order the Checked Items"
</FORM>
Thanks,
Jack
_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users