I am having a problem with Zen Cart/UPS splitting up into # of boxes based on total weight divided by maximum weight.
I am a wholesaler shipping by case. I have already assigned each product with their own correct billable weight. UPS calculates shipping correctly if customer buys only one case. However, the problem is when they order several cases, UPS would either quote it as one big box or split it up into several different boxes.
For example, my product weighs 30 pounds. I set my max weight to 50.
If customer orders 4 cases...it should say 4 pkgs x 30 lbs.
But UPS divides it into 3 pkgs x 40 lbs, which does not reflect the true price.
Anyone know how to change the code in the UPS shipping module to have each product packaged by itself and it's own weight instead of having a total weight / max weight?
The shipping class has the following code:
if ($shipping_weight > SHIPPING_MAX_WEIGHT) { // Split into many boxes
// $shipping_num_boxes = ceil($shipping_weight/SHIPPING_MAX_WEIGHT);
$zc_boxes = zen_round(($shipping_weight/SHIPPING_MAX_WEIGHT), 2);
$shipping_num_boxes = ceil($zc_boxes);
$shipping_weight = $shipping_weight/$shipping_num_boxes;
}
So instead of having shipping_weight/Shipping_max_weight....
can we do something like "shipping_weight" divided by "# of products"?
Thanks in advance!