Quote Originally Posted by Ajeh View Post
umm ... well ... I'd search for the word:
cost
I did as you said and broke the USPS module. The module would not appear unless I undid everything.

How should it have been written?

This breaks it:

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' => $this->types[$type],
'cost' => ($cost + MODULE_SHIPPING_USPS_HANDLING) * $shipping_num_boxes);
}