asbestos0 Posted June 9, 2009 Share Posted June 9, 2009 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! Quote Link to comment Share on other sites More sharing options...
swguy Posted June 9, 2009 Share Posted June 9, 2009 Please don't double post. I will resolve your problem and post to the Quantity Discounts thread in the near future. Quote 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 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.
Note: Your post will require moderator approval before it will be visible.