Osc Code Fix

Osc Code Fix
This is for cre loaded. This should be a real simple thing to fix.

i have cre loaded 6.2 B2B and i am trying to get this code to work. the code will add multiple products to the shopping cart when you click the link.

here is the code that has a problem

$cart->add_cart($id, $cart->get_quantity((int)$id)+1)

here is the code from the application top.

$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[‘cart_quantity’], $HTTP_POST_VARS[‘id’]);

from my knowledge there is something missing in my code.

i need this solved asap.

Leave a Reply

Your email address will not be published. Required fields are marked *