Quote Originally Posted by DrByte View Post
sw_guy is correct.

I suggest this approach, which saves some CPU cycles and database queries:

/includes/modules/order_total/ot_group_pricing.php
around line 67 you'll see this section of code.
Add the line highlighted:
Code:
  function calculate_deductions($order_total) {
    global $db, $order;
    $od_amount = array();
    if ($order_total == 0) return $od_amount;
    $orderTotal = $this->get_order_total();

DrByte, I think I follow now, instead of using SWGuy's code fix you're instructing me to apply your approach because it's an optimized approach using SWGuy's code logic.

I applied your changes (instead of SWGuy's) and that solved the problem.

Thanks to both of you for helping with this.