Re: UPS shipping returns incorrect quotes
So far, the only way I can see:
United Parcel Service (14.20lbs) (2nd Day Air): $88.39
on the checkout page is if I add Quantity 2 of products_id 121 with a 2lb attribute on it ...
So a 4lb item with a 2lb Attribute adding the Tare Rate that you have set of 10:1 and the Handling 4.00 ...
That gives a weight of 14.20lbs ... what is doubled here?
Re: UPS shipping returns incorrect quotes
SOLVED:
Its correctly quoting free shipping only carts with the change I made:
Code:
// bof: add back Always Free Shipping weight
$free_ship_weight = $_SESSION['cart']->free_shipping_weight;
if ($free_ship_weight > $total_weight){
$total_weight = $free_ship_weight;
}
This corrected the shipping for free shipping carts and normal shipping carts, but fails to address mixed carts. Once I got a dump of the $_SESSION object, I was able to correct it. Here is the solution:
Code:
// bof: add back Always Free Shipping weight
$total_weight = $_SESSION['cart']->free_shipping_weight + $_SESSION['cart']->weight;
// eof: add back Always Free Shipping weight
Thanks for your responses! So relieved! :)
Re: UPS shipping returns incorrect quotes
Thanks for the update of what you had to do ...