Jump to content
Sign in to follow this  

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;





Share this post

Link to post
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.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this