Ok I think I changed it correctly, but it doesn't look like it's adding the handling fee. I put an item in the shopping cart and did a quote on the cart page before making changes. It showed $11.64. Made the changes and it's still quoting $11.64. Or does the handling fee only get calculated into shipping during checkout?
Here is what I changed the code to:
I have handling set to configure by order not by box, does that make a difference?HTML Code:$cost = preg_replace('/[^0-9.]/', '', $cost); if ($order->delivery['country']['id'] == '223' || $this->usps_countries == 'US') { $extra_handling_int = 2.00; } $methods[] = array('id' => $type, 'title' => $title, 'cost' => ($cost * $shipping_num_boxes) + $extra_handling_int + (MODULE_SHIPPING_USPS_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_USPS_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_USPS_HANDLING) );


Reply With Quote
