Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem to add a new order from admin


rdbello

Recommended Posts

I try to add a order but the admin shows the follow advise:

 

Fatal error: Call to a member function on a non-object in /home/restricted/home2/site/public_html/loja/includes/modules/order_total/ot_qty_discount.php on line 53

 

Line 53 from ot_qty_discount.php:

 

$qty_discount = $this->calculate_rate($_SESSION['cart']->count_contents());

Link to comment
Share on other sites

The object was not created.

So probably while placing contrib code you have placed it above some code lione that is responsible for creating instance of the object.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

As there are too many files and You have modifed by placing some code so cant say further.

Just chek whether the code that creates order total object is call before.

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...