title: How to add multiple add to cart buttons on one form
body: <p>I have 16 products, all of which have separate add to cart buttons assigned to them. When a customer enters their desired quantity and then clicks add to cart, the product is added to the shopping cart and the customer is directed to the corresponding paypal shopping cart. I was wondering if there was a way to carry out the same action without having to make individual buttons for each product? </p>
  
  <p>This is the code for one of my buttons: </p>
  
  <pre><code>&lt;form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post"&gt;
                          &lt;input type="hidden" name="cmd" value="_s-xclick"&gt;
                          &lt;input type="hidden" name="hosted_button_id" value="93XBL9HZ8D5MG"&gt;
                          &lt;table&gt;
                          &lt;tr&gt;&lt;td&gt;&lt;input type="hidden" name="add" value="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;
                          &lt;input type="hidden" name="item_name" value="AR.VIN.001 - Unframed"&gt;
                          Qty &lt;input type="text" name="quantity" maxlength="5" value="1" style="position: relative; width:30px; height: 23px; top: 25px; left: 35px;"&gt;
  
                              &lt;/table&gt;
                          &lt;input type="image" src="./img/button.gif" border="0" name="submit" alt="PayPal – The safer, easier way to pay online."  style="position:relative; left: 50px; top: 0px;"&gt;
                          &lt;img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1"&gt;
                      &lt;/form&gt;'
  </code></pre>