Custom Add to Cart issues...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to set up online registration for our car show on our website, but I have run into a hiccup with how I would like it to look. There are 7 options. I want the first 4 to be radio buttons so they can only choose one... and the last 3 to be checkboxes for options. Then when they click add to cart, what is selected gets added. The below only adds the last entry to the cart. I can make it work as a dropdown, but I don't like the idea of having the user select one option, then add... then continue shopping.. then add the next.. etc. Can you see something I am doing wrong?
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="business" value="club address here">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="add" value="1">
<table><tr><td><input name="os0" type="radio" value="Regular registration with shirt S-XL - $55.00">Regular registration with shirt S-XL - $55.00</option></td>
<td><input type="hidden" name="amount" value="55.00"></td>
<td><input type="hidden" name="currency_code" value="USD"></td></tr>
<tr><td><input name="os1" type="radio" value="Regular registration with shirt 2X-4X - $57.00">Regular registration with shirt 2X-4X - $57.00</option></td>
<td><input type="hidden" name="amount" value="55.00"></td>
<td><input type="hidden" name="currency_code" value="USD"></td></tr>
<tr><td><input name="os2" type="radio" value="Concours registration with shirt S-XL - $115.00">Concours registration with shirt S-XL - $115.00</option></td>
<td><input type="hidden" name="amount" value="115.00"></td>
<td><input type="hidden" name="currency_code" value="USD"></td></tr>
<td><input name="os3" type="radio" value="Concours registration with shirt 2X-4X - $117.00">Concours registration with shirt 2X-4X - $117.00</option></td>
<td><input type="hidden" name="amount" value="117.00"></td>
<td><input type="hidden" name="currency_code" value="USD"></td></tr>
<tr><td><input name="os4" type="checkbox" value="Extra shirt S-XL - $20.00">Extra shirt S-XL - $20.00</td>
<td><input type="hidden" name="amount" value="20.00"></td>
<td><input type="hidden" name="currency_code" value="USD"></td></tr>
<tr><td><input name="os5" type="checkbox" value="Extra shirt 2X-4X - $22.00">Extra shirt 2X-4X - $22.00</td>
<td><input type="hidden" name="amount" value="22.00"></td>
<td><input type="hidden" name="currency_code" value="USD"></td></tr>
<tr><td><input name ="os6" type="checkbox" value="Tipp City registration - $10.00">Tipp City registration - $10.00</td>
<td><input type="hidden" name="amount" value="10.00"></td>
<td><input type="hidden" name="currency_code" value="USD"></td></tr>
</table><br>
<input type="image" name="submit" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif"
alt="Add to Cart"> <img alt="" width="1" height="1" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" >
</form>

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- "Return to Merchant" after buyer authenticates in About Payments
- Issue redirecting customers back to my website after purchasing. in About Payments
- USPS Shipping issues (USPS customer support is terrible) in About Payments
- Express Checkout as guest in About Payments
- FB Mobile Browser and PayPal Add to Cart Issues in About Business