This is a discussion on Add Quantity to Listings within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; After making the changes mentioned in the last post, you also need to ADD: elseif (isset($HTTP_POST_VARS['cart_quantity'])) { $cart->add_cart($HTTP_GET_VARS['products_id'], $cart->get_quantity($HTTP_GET_VARS['products_id'])+$HTTP_POST_VARS['cart_quantity']); } ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| After making the changes mentioned in the last post, you also need to ADD: elseif (isset($HTTP_POST_VARS['cart_quantity'])) { $cart->add_cart($HTTP_GET_VARS['products_id'], $cart->get_quantity($HTTP_GET_VARS['products_id'])+$HTTP_POST_VARS['cart_quantity']); } in the catalog/includes/application_top.php After: 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'])); } Hope it would help. More...
__________________ Michael Sasek osCMax Developer
|
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Product Quantity Box | auntie22 | osCMax v1.7 Discussion | 13 | 10-06-2005 04:21 AM |
| Help Quantity BUG... | djlane | osCMax v1.7 Installation | 1 | 07-02-2005 07:17 PM |
| quantity mod...newbie needs help | mediareaction | osCommerce 2.2 Modification Help | 2 | 11-17-2004 11:14 AM |
| Remove subcategory listings in Category box | strahd8088 | osCommerce 2.2 Modification Help | 1 | 07-31-2004 01:40 PM |
| Catalog Listings - Add pictures? | AJ | osCommerce 2.2 Modification Help | 5 | 03-11-2003 01:53 AM |