CMS MADE SIMPLE FORGE

Orders

 

[#6294] bug inn class.orders_shipping.php

avatar
Created By: marek a. (maranc)
Date Submitted: Mon Mar 21 04:38:00 -0400 2011

Assigned To: Robert Campbell (calguy1000)
Version: 1.11.3
CMSMS Version: None
Severity: Major
Resolution: Fixed
State: Closed
Summary:
bug inn class.orders_shipping.php
Detailed Description:
Total order is calculated wrong when add multiple product. The bug is in
function: public function get_subtotal() arround line 269. Here is missing ' +
'.
Correct line:
$subtotal += max($item->get_quantity() *
$item->get_unit_price(),$item->get_master_price());

Marek A.


History

Comments
avatar
Date: 2011-04-12 10:45
Posted By: Mark Schouten (Jeeves_)

Thanks! I was looking into fixing this bug.
      
Updates

Updated: 2012-04-18 04:27
cmsms_version_id: => -1
state: Open => Closed

Updated: 2011-05-30 22:38
resolution_id: => 7