title: Prestashop: Add products to a new cart
body: <p>This is not a general problem, but I hope someone has encountered this issue!!</p>
  
  <p>I have a <a href="http://www.prestashop.com/en/" rel="noreferrer">prestashop</a> website, and now I'm creating a mobile version of this site, using <a href="http://phonegap.com/" rel="noreferrer">phonegap</a>. </p>
  
  <p>I connect to the site data base via the <a href="http://doc.prestashop.com/display/PS14/Web-service+reference" rel="noreferrer">prestashop webservice</a>.</p>
  
  <p>I can add a new cart, but this cart is empty and It doesn't belong to the customer who have added a product to his cart.</p>
  
  <p>I have expected to use an url like this: </p>
  
  <pre><code>http://monsite/Create_carts.php?id_product=..&amp;quantity=..&amp;id_customer=..
  </code></pre>
  
  <p>but there is not an id_product or an id_customer attribute in the cart object. </p>
  
  <p>My question is how to add products to a cart and make it belong to the logged customer?</p>