Tengo 5 botones con diferentes precios, el tema es que para comprar esos 5 productos por ejemplo, tienen que apretar 1 por 1 ir a paypal y "seguir con la compra" y la verdad es medio molesto...
Queria saber si se puede armar algo que pueda elegir los 5 productos y al final hacer la compra de una sola vez, tipo con checkbox o algún otro elemento de html...
Dejo código de 2 botones de ejemplo:
Código PHP:
<table width="733" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="733" height="309" valign="top">
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<table width="733">
<!--DWLayoutTable-->
<tr>
<td width="331" height="34" valign="top">
<div align="left">
<input type="image" src="https://www.paypal.com/es_XC/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
</div></td><td width="387" rowspan="2" valign="top"><img src="imagen opciones adicionales.JPG" width="391" height="57" /></td>
</tr>
<tr>
<td height="21" valign="top"><div align="center">
<input type="hidden" name="add" value="1" />
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="business" value="[email protected]" />
<input type="hidden" name="item_name" value="Servicios" />
<input type="hidden" name="amount" value="50.00" />
<input type="hidden" name="page_style" value="PayPal" />
<input type="hidden" name="no_shipping" value="0" />
<input type="hidden" name="return" value="http://www.xxx.com/web" />
<input type="hidden" name="cancel_return" value="http://www.xxx.com/web/index.php?option=com_contact&Itemid=3" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="lc" value="US" />
<input type="hidden" name="bn" value="PP-ShopCartBF" />
</div></td>
</tr>
</table>
</form><form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<table width="733">
<!--DWLayoutTable-->
<tr>
<td width="331" height="34" valign="top">
<div align="left">
<input type="image" src="https://www.paypal.com/es_XC/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
</div></td><td width="387" rowspan="2" valign="top"><img src="imagen opciones adicionales.JPG" width="391" height="57" /></td>
</tr>
<tr>
<td height="21" valign="top"><div align="center">
<input type="hidden" name="add" value="1" />
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="business" value="[email protected]" />
<input type="hidden" name="item_name" value="Servicios" />
<input type="hidden" name="amount" value="100.00" />
<input type="hidden" name="page_style" value="PayPal" />
<input type="hidden" name="no_shipping" value="0" />
<input type="hidden" name="return" value="http://www.xxx.com/web" />
<input type="hidden" name="cancel_return" value="http://www.xxx.com/web/index.php?option=com_contact&Itemid=3" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="lc" value="US" />
<input type="hidden" name="bn" value="PP-ShopCartBF" />
</div></td>
</tr>
</table>
</form>