Quote Originally Posted by lhungil View Post
So they are all order total modules included with Zen Cart 1.5.3 and "stock" (unmodified)? If so this will make debugging a little simpler Otherwise please provide links and exact version numbers for any order totals not included with Zen Cart 1.5.3.
Stock ZC 1.5.3 (I uploaded again just to be sure)
Better Together Version 2.5.1
Combination Discounts Version 1.0.9

Here is my update log:

Code:
============================================================
= Edit Orders (4.1.4) Action Log
============================================================
Order ID: 43319
Action Requested: update_order
Enabled Order Totals: ot_subtotal;ot_coupon;ot_group_pricing;ot_shipping;ot_insurance;ot_tax;ot_gv;ot_total

Order Subtotal: 58.5000
Order Totals:
array (
  0 => 
  array (
    'title' => 'Sub-Total:',
    'text' => 'CDN $58.50',
    'class' => 'ot_subtotal',
  ),
  1 => 
  array (
    'title' => '<a href="javascript:couponpopupWindow(\'REMOVED\')">Discount Coupon: abcisme :</a>',
    'text' => '-CDN $10.00',
    'class' => 'ot_coupon',
  ),
  2 => 
  array (
    'title' => 'Group Discount:',
    'text' => '-CDN $1.46',
    'class' => 'ot_group_pricing',
  ),
  3 => 
  array (
    'title' => 'Fedex Ground:',
    'text' => 'CDN $10.98',
    'class' => 'ot_shipping',
  ),
  4 => 
  array (
    'title' => '13% Tax (ON):',
    'text' => 'CDN $7.54',
    'class' => 'ot_tax',
  ),
  5 => 
  array (
    'title' => 'Total:',
    'text' => 'CDN $65.33',
    'class' => 'ot_total',
  ),
)

Order Tax (total): 7.54
Order Tax Groups:
array (
  '13% Tax (ON)' => 7.605,
)

Requested Products:
array (
  322543 => 
  array (
    'qty' => '1',
    'name' => 'Hydrolyzed Oat Protein',
    'onetime_charges' => '0.0000',
    'attr' => 
    array (
      8 => 
      array (
        'value' => '6095',
        'type' => '0',
      ),
    ),
    'model' => 'LI-HOP',
    'tax' => '13',
    'final_price' => '5.80',
  ),
  322544 => 
  array (
    'qty' => '10',
    'name' => 'Hydrolyzed Silk Powder',
    'onetime_charges' => '0.0000',
    'attr' => 
    array (
      9 => 
      array (
        'value' => '7174',
        'type' => '0',
      ),
    ),
    'model' => 'CO-HSP',
    'tax' => '13',
    'final_price' => '5.27',
  ),
)


============================================================
= Processing Requested Updates to Products
============================================================



Old Order Subtotal: 58.5000
Old Order Totals:
array (
  0 => 
  array (
    'title' => 'Sub-Total:',
    'text' => 'CDN $58.50',
    'class' => 'ot_subtotal',
  ),
  1 => 
  array (
    'title' => '<a href="javascript:couponpopupWindow(\'REMOVED\')">Discount Coupon: abcisme :</a>',
    'text' => '-CDN $10.00',
    'class' => 'ot_coupon',
  ),
  2 => 
  array (
    'title' => 'Group Discount:',
    'text' => '-CDN $1.46',
    'class' => 'ot_group_pricing',
  ),
  3 => 
  array (
    'title' => 'Fedex Ground:',
    'text' => 'CDN $10.98',
    'class' => 'ot_shipping',
  ),
  4 => 
  array (
    'title' => '13% Tax (ON):',
    'text' => 'CDN $7.54',
    'class' => 'ot_tax',
  ),
  5 => 
  array (
    'title' => 'Total:',
    'text' => 'CDN $65.33',
    'class' => 'ot_total',
  ),
)

Old Tax (total): 7.54
Old Tax Groups:
array (
  '13% Tax (ON)' => 7.605,
)

Removed Product Order Subtotal: 52.7
Removed Product Order Totals:
array (
  0 => 
  array (
    'title' => 'Sub-Total:',
    'text' => 'CDN $52.70',
    'class' => 'ot_subtotal',
    'value' => 52.7,
  ),
  1 => 
  array (
    'title' => '<a href="javascript:couponpopupWindow(\'REMOVED\')">Discount Coupon: abcisme :</a>',
    'text' => '-CDN $10.00',
    'class' => 'ot_coupon',
  ),
  2 => 
  array (
    'title' => 'Group Discount:',
    'text' => '-CDN $1.46',
    'class' => 'ot_group_pricing',
  ),
  3 => 
  array (
    'title' => 'Fedex Ground:',
    'text' => 'CDN $10.98',
    'class' => 'ot_shipping',
  ),
  4 => 
  array (
    'title' => '13% Tax (ON):',
    'text' => 'CDN $6.79',
    'class' => 'ot_tax',
    'value' => 6.786,
  ),
  5 => 
  array (
    'title' => 'Total:',
    'text' => 'CDN $70.47',
    'class' => 'ot_total',
    'value' => 70.466,
  ),
)

Removed Product Tax (total): 6.786
Removed Product Tax Groups:
array (
  '13% Tax (ON)' => 6.851,
)

Added Product Order Subtotal: 58.5
Added Product Order Totals:
array (
  0 => 
  array (
    'title' => 'Sub-Total:',
    'text' => 'CDN $58.50',
    'class' => 'ot_subtotal',
    'value' => 58.5,
  ),
  1 => 
  array (
    'title' => '<a href="javascript:couponpopupWindow(\'REMOVED\')">Discount Coupon: abcisme :</a>',
    'text' => '-CDN $10.00',
    'class' => 'ot_coupon',
  ),
  2 => 
  array (
    'title' => 'Group Discount:',
    'text' => '-CDN $1.46',
    'class' => 'ot_group_pricing',
  ),
  3 => 
  array (
    'title' => 'Fedex Ground:',
    'text' => 'CDN $10.98',
    'class' => 'ot_shipping',
  ),
  4 => 
  array (
    'title' => '13% Tax (ON):',
    'text' => 'CDN $7.54',
    'class' => 'ot_tax',
    'value' => 7.54,
  ),
  5 => 
  array (
    'title' => 'Total:',
    'text' => 'CDN $77.02',
    'class' => 'ot_total',
    'value' => 77.02,
  ),
)

Added Product Tax (total): 7.54
Added Product Tax Groups:
array (
  '13% Tax (ON)' => 7.605,
)

Old Order Subtotal: 58.5
Old Order Totals:
array (
  0 => 
  array (
    'title' => 'Sub-Total:',
    'text' => 'CDN $58.50',
    'class' => 'ot_subtotal',
    'value' => 58.5,
  ),
  1 => 
  array (
    'title' => '<a href="javascript:couponpopupWindow(\'REMOVED\')">Discount Coupon: abcisme :</a>',
    'text' => '-CDN $10.00',
    'class' => 'ot_coupon',
  ),
  2 => 
  array (
    'title' => 'Group Discount:',
    'text' => '-CDN $1.46',
    'class' => 'ot_group_pricing',
  ),
  3 => 
  array (
    'title' => 'Fedex Ground:',
    'text' => 'CDN $10.98',
    'class' => 'ot_shipping',
  ),
  4 => 
  array (
    'title' => '13% Tax (ON):',
    'text' => 'CDN $7.54',
    'class' => 'ot_tax',
    'value' => 7.54,
  ),
  5 => 
  array (
    'title' => 'Total:',
    'text' => 'CDN $77.02',
    'class' => 'ot_total',
    'value' => 77.02,
  ),
)

Old Tax (total): 7.54
Old Tax Groups:
array (
  '13% Tax (ON)' => 7.605,
)

Removed Product Order Subtotal: 5.8
Removed Product Order Totals:
array (
  0 => 
  array (
    'title' => 'Sub-Total:',
    'text' => 'CDN $5.80',
    'class' => 'ot_subtotal',
    'value' => 5.8,
  ),
  1 => 
  array (
    'title' => '<a href="javascript:couponpopupWindow(\'REMOVED\')">Discount Coupon: abcisme :</a>',
    'text' => '-CDN $10.00',
    'class' => 'ot_coupon',
  ),
  2 => 
  array (
    'title' => 'Group Discount:',
    'text' => '-CDN $1.46',
    'class' => 'ot_group_pricing',
  ),
  3 => 
  array (
    'title' => 'Fedex Ground:',
    'text' => 'CDN $10.98',
    'class' => 'ot_shipping',
  ),
  4 => 
  array (
    'title' => '13% Tax (ON):',
    'text' => 'CDN $0.69',
    'class' => 'ot_tax',
    'value' => 0.689,
  ),
  5 => 
  array (
    'title' => 'Total:',
    'text' => 'CDN $17.47',
    'class' => 'ot_total',
    'value' => 17.469,
  ),
)

Removed Product Tax (total): 0.689
Removed Product Tax Groups:
array (
  '13% Tax (ON)' => 0.754,
)

Added Product Order Subtotal: 58.5
Added Product Order Totals:
array (
  0 => 
  array (
    'title' => 'Sub-Total:',
    'text' => 'CDN $58.50',
    'class' => 'ot_subtotal',
    'value' => 58.5,
  ),
  1 => 
  array (
    'title' => '<a href="javascript:couponpopupWindow(\'REMOVED\')">Discount Coupon: abcisme :</a>',
    'text' => '-CDN $10.00',
    'class' => 'ot_coupon',
  ),
  2 => 
  array (
    'title' => 'Group Discount:',
    'text' => '-CDN $1.46',
    'class' => 'ot_group_pricing',
  ),
  3 => 
  array (
    'title' => 'Fedex Ground:',
    'text' => 'CDN $10.98',
    'class' => 'ot_shipping',
  ),
  4 => 
  array (
    'title' => '13% Tax (ON):',
    'text' => 'CDN $7.54',
    'class' => 'ot_tax',
    'value' => 7.54,
  ),
  5 => 
  array (
    'title' => 'Total:',
    'text' => 'CDN $77.02',
    'class' => 'ot_total',
    'value' => 77.02,
  ),
)

Added Product Tax (total): 7.54
Added Product Tax Groups:
array (
  '13% Tax (ON)' => 7.605,
)

Updated Products Order Totals:
array (
  0 => 
  array (
    'title' => 'Sub-Total:',
    'text' => 'CDN $58.50',
    'class' => 'ot_subtotal',
  ),
  1 => 
  array (
    'title' => '<a href="javascript:couponpopupWindow(\'REMOVED\')">Discount Coupon: abcisme :</a>',
    'text' => '-CDN $10.00',
    'class' => 'ot_coupon',
  ),
  2 => 
  array (
    'title' => 'Group Discount:',
    'text' => '-CDN $1.76',
    'class' => 'ot_group_pricing',
  ),
  3 => 
  array (
    'title' => 'Fedex Ground:',
    'text' => 'CDN $10.98',
    'class' => 'ot_shipping',
  ),
  4 => 
  array (
    'title' => '13% Tax (ON):',
    'text' => 'CDN $8.80',
    'class' => 'ot_tax',
  ),
  5 => 
  array (
    'title' => 'Total:',
    'text' => 'CDN $75.03',
    'class' => 'ot_total',
  ),
)

Updated Products Tax (total): 8.80
Updated Products Tax Groups:
array (
  '13% Tax (ON)' => 7.605,
)

Requested Order Totals:
array (
  0 => 
  array (
    'code' => 'ot_coupon',
    'title' => 'Discount Coupon: abcisme :',
    'value' => '10.0000',
  ),
  1 => 
  array (
    'code' => 'ot_group_pricing',
    'title' => 'Group Discount:',
    'value' => '1.4600',
  ),
  2 => 
  array (
    'code' => 'ot_shipping',
    'shipping_module' => 'fedexwebservices',
    'title' => 'Fedex Ground:',
    'value' => '10.9800',
  ),
  3 => 
  array (
    'code' => 'ot_insurance',
    'title' => '',
    'value' => '',
    'shipping_module' => '',
  ),
)


============================================================
= Processing Requested Updates to Order Totals
============================================================



Starting Order Totals:
array (
  0 => 
  array (
    'title' => 'Sub-Total:',
    'text' => 'CDN $58.50',
    'class' => 'ot_subtotal',
  ),
  1 => 
  array (
    'title' => '<a href="javascript:couponpopupWindow(\'REMOVED\')">Discount Coupon: abcisme :</a>',
    'text' => '-CDN $10.00',
    'class' => 'ot_coupon',
  ),
  2 => 
  array (
    'title' => 'Group Discount:',
    'text' => '-CDN $1.76',
    'class' => 'ot_group_pricing',
  ),
  3 => 
  array (
    'title' => 'Fedex Ground:',
    'text' => 'CDN $10.98',
    'class' => 'ot_shipping',
  ),
  4 => 
  array (
    'title' => '13% Tax (ON):',
    'text' => 'CDN $8.80',
    'class' => 'ot_tax',
  ),
  5 => 
  array (
    'title' => 'Total:',
    'text' => 'CDN $75.03',
    'class' => 'ot_total',
  ),
)

Starting Tax (total): 8.80
Starting Tax Groups:
array (
  '13% Tax (ON)' => 7.605,
)

Updated Order Totals:
array (
  0 => 
  array (
    'title' => 'Sub-Total:',
    'text' => 'CDN $58.50',
    'class' => 'ot_subtotal',
  ),
  1 => 
  array (
    'title' => '<a href="javascript:couponpopupWindow(\'REMOVED\')">Discount Coupon</a>',
    'text' => 'CDN $10.00',
    'class' => 'ot_coupon',
  ),
  2 => 
  array (
    'title' => 'Group Discount:',
    'text' => 'CDN $1.46',
    'class' => 'ot_group_pricing',
  ),
  3 => 
  array (
    'title' => 'Fedex Ground:',
    'text' => 'CDN $10.98',
    'class' => 'ot_shipping',
  ),
  4 => 
  array (
    'title' => '13% Tax (ON):',
    'text' => 'CDN $8.80',
    'class' => 'ot_tax',
  ),
  5 => 
  array (
    'title' => 'Total:',
    'text' => 'CDN $75.03',
    'class' => 'ot_total',
  ),
)

Updated Tax (total): 7.31027224742
Updated Tax Groups:
array (
  '13% Tax (ON)' => 7.54027224742,
)


============================================================
= Done Processing Requested Updates to the Order
============================================================


Final Subtotal: 58.5000
Final Totals:
array (
  0 => 
  array (
    'title' => 'Sub-Total:',
    'text' => 'CDN $58.50',
    'class' => 'ot_subtotal',
  ),
  1 => 
  array (
    'title' => '<a href="javascript:couponpopupWindow(\'REMOVED\')">Discount Coupon</a>',
    'text' => 'CDN $10.00',
    'class' => 'ot_coupon',
  ),
  2 => 
  array (
    'title' => 'Group Discount:',
    'text' => 'CDN $1.46',
    'class' => 'ot_group_pricing',
  ),
  3 => 
  array (
    'title' => 'Fedex Ground:',
    'text' => 'CDN $10.98',
    'class' => 'ot_shipping',
  ),
  4 => 
  array (
    'title' => '13% Tax (ON):',
    'text' => 'CDN $8.80',
    'class' => 'ot_tax',
  ),
  5 => 
  array (
    'title' => 'Total:',
    'text' => 'CDN $75.03',
    'class' => 'ot_total',
  ),
)

Final Tax (total): 7.31027224742
Final Tax Groups:
array (
  '13% Tax (ON)' => 7.54027224742,
)