Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Automating add can't add more than one per item


Recommended Posts

I'm passing product IDs in an html variable to this php script:

$queryString = $_SERVER['QUERY_STRING'];
$cart->add_cart($queryString, 1, array(6 => 15));

When you add an item, that already exists in the Cart, I would like the quantity increased by 1.


Right now, executing a second or more times does nothing, to the item already added to the cart initially by this method.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...