title: Magento - How to add multiple items to the cart programmatically?
body: <p>I'm trying to add multiple simple products to the cart at the same time using a query string as below, however it only adds the last product to the cart instead of both:</p>
  
  <p>Can someone let me know what I'm doing wrong?</p>
  
  <pre><code>http://www.domain.co.uk/checkout/cart/add?product=9916&amp;qty=4&amp;product=15749&amp;qty=4
  </code></pre>
  
  <p>I have also tried this: </p>
  
  <pre><code>http://www.domain.co.uk/checkout/cart/add?product[]=9916&amp;qty[]=4&amp;product[]=15749&amp;qty[]=4
  </code></pre>
  
  <p>Any help much appreciated!</p>