Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Quantity price breaks per product


binderben

Recommended Posts

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...