I'm going to consolidate the list of fixes to a single post to make it easier on people:
a) Edit includes/classes/order.php
circa line 347 - you should see
which should be changed toPHP Code:'subtotal' => 0,
'tax' => 0,
'total' => 0,
b) edit includes/modules.order_total/ot_shipping.phpPHP Code:'subtotal' => 0,
'shipping_tax'=>0,
'tax' => 0,
'total' => 0,
circa line 67 change
toPHP Code:$order->info['tax'] += $shipping_tax_amount;
$order->info['tax_groups']["$shipping_tax_description"] += zen_calculate_tax($order->info['shipping_cost'], $shipping_tax);
c) For the original group pricing fix, edit includes/modules/order_total/ot_group_pricing.phpPHP Code:$order->info['tax'] += $shipping_tax_amount;
$order->info['shipping_tax'] += $shipping_tax_amount;
$order->info['tax_groups']["$shipping_tax_description"] += zen_calculate_tax($order->info['shipping_cost'], $shipping_tax);
circa line 60
change
toPHP Code:if ($this->include_shipping != 'true') $order_total -= $order->info['shipping_cost'];
d) For the coupon fix, edit includes/modules/order_total/ot_coupon.phpPHP Code:if ($this->include_shipping != 'true') $order_total -= $order->info['shipping_cost'];
if ($this->include_shipping != 'true') $order_total_tax -= $order->info['shipping_tax'];
if ($this->include_tax != "true" && $this->include_shipping != 'true') $order_total += $order->info['shipping_tax'];
circa line 396
change
toPHP Code:if ($this->include_shipping != 'true') $order_total -= $order->info['shipping_cost'];
PHP Code:if ($this->include_shipping != 'true') $order_total -= $order->info['shipping_cost'];
if ($this->include_shipping != 'true') $order_total_tax -= $order->info['shipping_tax'];
if ($this->include_tax != "true" && $this->include_shipping != 'true') $order_total += $order->info['shipping_tax'];



