I gang

Submit Multiple Forms at once

I have code that I need to add to my Shopping Cart. The cart can easily add one item at a time and redirect you to the cart. I need to add multiple items to the cart all at once with 1 click. Each item is a form (sample below). Each item has a set of configurable details (size, color, etc.)

I've read code online that suggest javascript and arrays to submit multiple forms at once, but I don't understand the code enough to implement it.

I was quoted by a company for over a hundred dollars and a lot of lead time. If I can get it for less and faster, that would be great.

Here is a sample of the code:

<FORM name="orderform_16210" method="post" action="[url removed, login to view]">

<INPUT type="hidden" name="mode" value="add">

<INPUT type="hidden" name="productid" value="16210">

<TABLE><TR>

<TD>Price:</TD><TD><INPUT type="text" name="price"></TD></TR>

<TR><TD>Color</TD> <TD><SELECT id="po43" name="product_options[43]">

<OPTION value="130">White</OPTION>

<OPTION value="131">Black</OPTION>

<OPTION value="132">Light Grey</OPTION> </SELECT> </TD> </TR>

<TR> <TD>Size</TD> <TD> <SELECT id="po42" name="product_options[42]">

<OPTION value="123">Small</OPTION>

<OPTION value="124">Medium</OPTION>

<OPTION value="125">Large</OPTION>

<OPTION value="126">X-Large</OPTION>

<OPTION value="127">2X-Large</OPTION></SELECT> </TD> </TR>

<TR><TD>Quantity</TD> <TD> <SELECT name="amount">

<OPTION value="1" >1</OPTION>

<OPTION value="2" >2</OPTION>

<OPTION value="3" >3</OPTION>

</SELECT> </TD></TR>

<TR><TD colspan="2"><A href="javascript: [url removed, login to view]()">Add to cart</A> </TD>

</TR> </TABLE> </FORM>

<FORM name="orderform_16221" method="post" action="[url removed, login to view]">

<INPUT type="hidden" name="mode" value="add"> <INPUT type="hidden" name="productid" value="16221">

<TABLE> <TR><TD>Price:</TD> <TD"><INPUT type="text" size="7" name="price2"></TD> </TR>

<TR><TD>Color</TD> <TD> <SELECT id="po63" name="product_options[63]">

<OPTION value="258">White</OPTION>

<OPTION value="259">Black</OPTION>

<OPTION value="260">Light Pink</OPTION>

</SELECT></TD></TR>

<TR><TD>Size</TD><TD> <SELECT id="po64" name="product_options[64]">

<OPTION value="263">Small</OPTION>

<OPTION value="264">Medium</OPTION>

<OPTION value="265">Large</OPTION>

<OPTION value="266">X-Large</OPTION></SELECT>

</TD></TR><TR><TD>Quantity</TD>

<TD> <SELECT name="amount">

<OPTION value="1" >1</OPTION>

<OPTION value="2" >2</OPTION>

<OPTION value="3" >3</OPTION>

</SELECT> </TD></TR> <TR>

<TD colspan="2"><A href="javascript: [url removed, login to view]()">Add to cart</A></TD>

</TR> </TABLE> </TD> </TR> </FORM>

Færdigheder: HTML, Javascript, PHP, Software Arkitektur

Se mere: javascript submit forms, submit multiple forms, php id shop, c# submit, at & t, at &t, to submit, shop redirect, multiple], at&t, Arrays, javascript multiple, add sample cart, multiple form, forms post, input hidden can post, post form hidden, quoted, redirect post, implement post http, http submit, php post value, suggest company name company, form hidden submit, http form post submit

Om arbejdsgiveren:
( 11 bedømmelser ) North Salt Lake, United States

Projekt-ID: #935611

Tildelt til:

shuiwatermizu

please see pm

$50 USD in 0 dage
(94 bedømmelser)
6.4

3 freelancere byder i gennemsnit $43 for dette job

sureshdevi

I can do this work. Thanks, Suresh

$40 USD in 0 dage
(688 bedømmelser)
7.5
acesolution

lets do it ....

$40 USD in 0 dage
(120 bedømmelser)
6.6