Toibletrilt
New Member
I currently have 'Add to cart' buttons created via paypal which will add to a cart the product it is linked to, e.g.:\[code\]<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="http://stackoverflow.com/questions/10539633/_cart"> <input type="hidden" name="business" value="http://stackoverflow.com/questions/10539633/X5RV9A6ALN24W"> <input type="hidden" name="lc" value="http://stackoverflow.com/questions/10539633/GB"> <input type="hidden" name="item_name" value="http://stackoverflow.com/questions/10539633/<?php echo $row['name'] ?>"> <input type="hidden" name="amount" value="http://stackoverflow.com/questions/10539633/<?php echo $row['price'] ?>"> <input type="hidden" name="currency_code" value="http://stackoverflow.com/questions/10539633/GBP"> <input type="hidden" name="button_subtype" value="http://stackoverflow.com/questions/10539633/products"> <input type="hidden" name="no_note" value="http://stackoverflow.com/questions/10539633/0"> <input type="hidden" name="add" value="http://stackoverflow.com/questions/10539633/1"> <input type="hidden" name="bn" value="http://stackoverflow.com/questions/10539633/PP-ShopCartBF:btn_cart_LG.gif:NonHostedGuest"> <input type="image" src="https://www.paypalobjects.com/en_GB/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal