Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with order_total


gkong

Recommended Posts

  • 4 years later...

I know it's been a long time since you posted, but you are the first search result containing the word "order_total". I need to share what I did to fix this problem.

 

I traced the code back to includes/classes/order_total.php. After some testing, I found that

 

"if (defined('MODULE_ORDER_TOTAL_INSTALLED') && tep_not_null(MODULE_ORDER_TOTAL_INSTALLED)) {"

 

returned false.

 

Looking in the configuration table in the database, I found that MODULE_ORDER_TOTAL_INSTALLED was entered. However, the configuration_value was missing. I compared this with a working store's database and found that there in fact was a missing value here. The correct value is:

 

ot_subtotal.php;ot_shipping.php;ot_tax.php;ot_total.php

 

After updating the configuration_value field with this value, it now works - after new orders have been made, they showed up in the admin panel as expected.

 

Hope that helps anyone trying to figure this out.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...