3

According to the CE documentation for the UPS shipping method, the Minimum Package Weight indicates that for total order weights below this amount, the shipping option becomes unavailable.

However, I found that setting the minimum weight does not behave that way. After looking at the UPS carrier model, I found this method:

# Mage_Usa_Model_Shipping_Carrier_Ups::_getCorrectWeight
protected function _getCorrectWeight($weight)
{
    $minWeight = $this->getConfigData('min_package_weight');

    if($weight < $minWeight){
        $weight = $minWeight;
    }

    //rounds a number to one significant figure
    $weight = ceil($weight*10) / 10;

    return $weight;
}

So clearly the weight is adjusted to meet the minimum, and nowhere else in the model do I find the weight being checked against the minimum. I'm guessing the documentation is wrong?

I can extend the model to meet my needs, but I'm concerned about collateral damage in other places that I can't think of. Any thoughts?

3

Since the documentation makes reference to:

"Check with your shipping carrier to verify the minimum weight."

I'm assuming this parameter varies, or is outdated, and the minimum weight is not set in stone. UPS mentions no minimum, but makes specific reference to a maximum: http://www.ups.com/content/us/en/resources/sri/sze2.html

So, yes, I would say the documentation is not thorough, although technically correct.

  • 1
    Yes, that ambiguous line had me worried, too :) I'm guessing there are classes of shipping service offered on a per-merchant basis which might dictate a minimum. I'm gonna sit on this for a while as I dig some more and give more opportunity for other answers. Thanks for the input and reference Tim. – Rick Buczynski May 18 '15 at 19:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.