[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Quantity Boxes? Help...
At 02:53 PM 10/7/1999 , you wrote:
>****** message to minivend-users from Tev Kaber <tev@acadia.net>
******
>
>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 Selena Sol's WebStore:
>http://www2.acadia.net/cgi-bin/Worcester_Wreath/web_store.cgi?product=ring
>
>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?
>
>I came up with this code, which works, but has multiple "submit" buttons.
>I want just one at the bottom of the list.
>
><div align=center>
><table>
><tr>
> <td><B>Item</B></td>
> <td><B>Quantity</b></td>
> <td> </td>
></tr>
>[tag each products]
> <FORM ACTION="[process-target]" METHOD=POST>
> <tr>
> <td>[loop-field title]</td>
> <td><INPUT SIZE=3 NAME=mv_order_quantity VALUE="1"></td>
> <td>
> <INPUT TYPE=SUBMIT VALUE="[L]Add to cart[/L]">
> <INPUT TYPE=hidden NAME=mv_todo VALUE=refresh>
> <INPUT TYPE=hidden NAME=mv_order_item VALUE="[loop-code]">
> <INPUT TYPE=hidden NAME=mv_separate_items VALUE="1">
> </td>
> </tr>
> </form>
>[/tag]
></table>
></div>
Put the <FORM> (above) and <INPUT submit and hidden>(below) HTML outside of
the [tag] tag?
>
>+-------------------------+
>| Tev Kaber, Web Designer |
>| AcadiaNet |
>| http://www.acadia.net |
>+-------------------------+
>-
>To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
>email with 'UNSUBSCRIBE minivend-users' in the body to
Majordomo@minivend.com.
>Archive of past messages: http://www.minivend.com/minivend/minivend-list
>
Ryan Hertz tel 800-645-BAIT
Webmaster fax 520-645-2588
Advertising Director http://www.insideline.net
Gary Yamamoto Custom Baits, Inc. http://www.yamamoto.baits.com