This is a discussion on Quantity Box in OSCMAX within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; Hi Folks I am trying to install the quantity box addon osCommerce Community Add-Ons into OSCMAX V2.0 RC3 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi Folks I am trying to install the quantity box addon osCommerce Community Add-Ons into OSCMAX V2.0 RC3 Have followed the instructions, but cannot get the quantity to update in the cart. I think the problem is in application_top.php where you are supposed to find: $HTTP_POST_VARS['id']))+1 Replace with: $HTTP_POST_VARS['id']))+$HTTP_POST_VARS['quantity'] in oscmax the file is different line 1077 reads $cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $HTTP_POST_VARS['id']))+1, $HTTP_POST_VARS['id']); but changing the +1 doesn't work any help appreciated. |
|
#2
| |||
| |||
| Ok finally figured it out replace (approx line 826) $cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $attributes))+ 1, $attributes); // EOF: MOD - QT Pro With $cart->add_cart($HTTP_POST_VARS['products_id'], $cart->get_quantity(tep_get_uprid($HTTP_POST_VARS['products_id'], $attributes))+$HTTP_POST_VARS['quantity'], $attributes); // EOF: MOD - QT Pro and it works a treat! |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| add Quantity Price Breaks Per Product mod to OSCMAX | lazua | osCMax v2 Customization/Mods | 10 | 09-07-2007 06:16 PM |
| Quantity Pro error. | NeoTech | osCMax v2 Features Discussion | 0 | 12-04-2006 01:20 AM |
| Product Quantity Box | auntie22 | osCMax v1.7 Discussion | 13 | 10-06-2005 03:21 AM |
| Help Quantity BUG... | djlane | osCMax v1.7 Installation | 1 | 07-02-2005 06:17 PM |
| quantity mod...newbie needs help | mediareaction | osCommerce 2.2 Modification Help | 2 | 11-17-2004 11:14 AM |