Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

order editor with quantity discounts v1


Recommended Posts

Will like to know is it possible to have the quantity discounts v1 to work with the order editor add on:

 

There is problem when I try to edit my order and the total order price , there is problem adding up!

 

Fatal error: Call to a member function get_products() on a non-object in /home/canvas/public_html/includes/modules/order_total/ot_quantity_discount.php on line 293

 

$products = $_SESSION['cart']->get_products();

$prod_list = array();

$prod_list_price = array();

$cat_list = array();

$cat_list_price = array();

$all_items = 0;

$cat_list_back = array();

$prod_list_back = array();

$all_items_price = 0;

for ($i=0, $n=sizeof($products); $i<$n; $i++) {

if (!$this->is_discountable($products[$i]['id'])) continue;

 

 

 

thank!

Link to comment
Share on other sites

Please don't double post. I will resolve your problem and post to the Quantity Discounts thread in the near future.

Contributions: Better Together and Quantity Discounts for osCommerce 2.3.x and Phoenix. See my profile for more details.

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.
Note: Your post will require moderator approval before it will be visible.

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...