1

Working with Shipping Carrier rates, I came to know about function convertWeightToLbs() located at

Mage/Shipping/Model/Carrier/Abstract.php

The function is

     *  Return weight in pounds
     *  @param integer Weight in someone measure
     *  @return float Weight in pounds
     */
    public function convertWeightToLbs($weight)
    {
        return $weight;
    }

The parameter passed in the above function is integer Weight in someone measure and return value is float Weight in pounds.

Could anyone explain how and where Magento uses this function along with its params and return values i.e. integer in and float out.

1 Answer 1

1

This function does nothing, looks like a placeholder.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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