Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Call to undefined method: shoppingcart->get_quantity()


michaelstanford

Recommended Posts

I'm having a bit of trouble with my cart. When attempting to add items to the cart, I get this error -

 

Fatal error: Call to undefined method: shoppingcart->get_quantity() in <path to site>\application_top.php on line 370

 

Where <path to site> is the direct path to the includes directory.

 

Line 370 of application_top.php is

 

$cart->add_cart($HTTP_GET_VARS['products_id'], $cart->get_quantity($HTTP_GET_VARS['products_id'])+1);

 

Could anyone provide a bit of help?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...