Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Product Quantity Help


Recommended Posts

I added the following code per the user guide to application_top.php and I am getting some wierd numbers for the product in the cart. What could be wrong.


$cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $HTTP_POST_VARS['id']))+$HTTP_POST_VARS['products_id'], $HTTP_POST_VARS['id']);


This is from the customer adds a product section.


Thanks in advance.

Link to comment
Share on other sites


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

  • Create New...