Quote Originally Posted by Ajeh View Post
Probably a misplaced bracket ...

The original code reads:
Code:
          $methods[] = array('id' => $type,
                             'title' => $title,
                             'cost' => ($cost + MODULE_SHIPPING_USPS_HANDLING) * $shipping_num_boxes);
        }

        $this->quotes['methods'] = $methods;
The code should read when changed:
Code:
          if ($cost < 6.00) {
          $methods[] = array('id' => $type,
                             'title' => $title,
                             'cost' => (6.00 + MODULE_SHIPPING_USPS_HANDLING) * $shipping_num_boxes);
          } else {
          $methods[] = array('id' => $type,
                             'title' => $title,
                             'cost' => ($cost + MODULE_SHIPPING_USPS_HANDLING) * $shipping_num_boxes);
          }
        }

        $this->quotes['methods'] = $methods;
Thanks for your new USPS update. How should this look now?