Guest Posted July 9, 2008 Posted July 9, 2008 I have been searching for days for a solution to an issue that was pointed out to me. When a customer selects a product and clicks add to cart, the cart says "your shopping cart is empty". By doing a file compare I was able to determine the cause was in the code for catalog/includes/application_top.php. It was missing the +1 at the end of $HTTP_POST_VARS['id'])). The correct line of code should read: $cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $HTTP_POST_VARS['id']))+1, $HTTP_POST_VARS['id']); I hope this helps someone since I was driven nuts trying to figure this out!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.