RikC3 Posted September 7, 2011 Posted September 7, 2011 I've installed the next contribution: http://www.oscommerce.com/community/contributions,1129 Now i got on the productlisting 1 form. When i press on the button_buy_now there is no product added at the cart. This is the code I added at application_top.php. ///////////////////////////////////////// Products Multi ////////////////////// // multi_product_add case 'add_multi': for ($i=0; $i<=sizeof($HTTP_POST_VARS['products_id']); $i++) { if($_POST['add_id'][$i] >= 1) $cart->add_cart($HTTP_POST_VARS['products_id'][$i], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'][$i], $HTTP_POST_VARS['id'][$i]))+($HTTP_POST_VARS['add_id'][$i]), $HTTP_POST_VARS['id'][$i]); } tep_redirect(tep_href_link(FILENAME_DEFAULT, tep_get_all_get_params($parameters), 'NONSSL')); break; ///////////////////////////////////////// Products Multi ////////////////////// please help me with add the products again at the cart. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.