binderben Posted October 18, 2009 Share Posted October 18, 2009 Hi, I tried to install the contribution: 'quantity price breaks per product' on a cart with only a single other contribution: 'option types v2'. The problem is in the manual installation instructions it asks me to: In application_top.php, Find (around line 361 [around line 368 in edited file]): $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']); and replace with //BOF qpbpp //$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']); $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']); //EOF qpbpp Because of the optiontypesV2 this line has been changed to something else. I have been trying for hours to integrate the changes to no avail. If someone could look at what I am doing wrong that would be great. Here is my application_top.php page: http://pastebin.com/m25fefa54 Quote Link to comment Share on other sites More sharing options...
multimixer Posted October 18, 2009 Share Posted October 18, 2009 Searching goes over posting. And yes, somebody had the same problem in the past. And yes, he posted his question in the contribution support forum And finally yes, he got an answer, find it here ---> merge QPBPP and option types v2 in application_top.php kymation 1 Quote My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
binderben Posted October 18, 2009 Author Share Posted October 18, 2009 Thank you, that fixed it. I will use the search before posting in future. Quote Link to comment Share on other sites More sharing options...
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.