alberti Posted July 26, 2010 Posted July 26, 2010 I've just downloaded the Quantity Box in Product Listing v1.0 and started modifiying my files, but it doesn't work. has anybody got it working, if you have could you please share you advice how to get it working as well!? When I add the following code, my add to cart button/image doesn't work anymore!!! ***** In /includes/application_top.php ***** change case 'buy_now' : to ---> case 'buy_now' : if (isset($HTTP_GET_VARS['products_id'])) { if (tep_has_product_attributes($HTTP_GET_VARS['products_id'])) { tep_redirect(tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id'] . '&cPath=' . $cPath )); } else { $cart->add_cart($HTTP_GET_VARS['products_id'], $cart->get_quantity($HTTP_GET_VARS['products_id'])+(int)$HTTP_POST_VARS['buyqty']); } } tep_redirect(tep_href_link($goto, tep_get_all_get_params($parameters))); break; Thanks in advance 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.