asbestos0 0 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! Share this post Link to post Share on other sites
swguy 30 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. Contributions: Better Together and Quantity Discounts for osCommerce 2.3.x and Phoenix. See my profile for more details. Share this post Link to post Share on other sites