[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Quantity Boxes?
We are moving from using Selena Sol's WebStore to MiniVend (what a nice
change!), and I need to replicate some of the functionality of the old
WebStore with MiniVend.
Specifically, is it possible to make a page that allows you to enter
quantities for multiple items and add them all at once?
For example, here is one I did using the old WebStore:
http://www2.acadia.net/cgi-bin/Worcester_Wreath/web_store.cgi?product=center
piece
Note that you can change multiple quantities, then press "Add to Cart" to
add all of them.
Does anyone have any example code of how this would work in MiniVend?
Thanks!
p.s. I tried borrowing code from the cart page, but really didn't know what
variables to use to make it work. Here is my sad, wrong code:
<FORM ACTION="[process-target secure=1]" METHOD=POST>
<INPUT TYPE=hidden NAME=mv_session_id VALUE="[data session id]">
<input type="hidden" name="mv_doit" value="refresh">
<input type="hidden" name="mv_orderpage" value="ord/basket">
<input type="hidden" name="mv_checkout" value="ord/checkout">
<input type="hidden" name="mv_nextpage" value="index">
<table>
<tr>
<td><B>ITEM</B></td>
<td>QUANTITY</TD>
</TR>
[tag each products]
<tr>
<td>[loop-field title]</td>
<td><input type="text" name=[loop-name] size=3></td>
</tr>
[/tag]
</table>
<input type="submit"
onClick="this.form.action='[process-target]'"
name="mv_submit" value="[L]ADD TO CART[/L]">
</form>
+-------------------------+
| Tev Kaber, Web Designer |
| AcadiaNet |
| http://www.acadia.net |
+-------------------------+