in app/code/core/Mage/Sales/Model/order.php there's a method getBaseShippingAmount(); I want to know where is this function defined?

1 Answer 1


There is a field in order table with name base_shipping_amount and getBaseShippingAmount() returns the value of the field for the order object. It is handled by ORM and this is not defined statically something like

public function getBaseShippingAmount(){ }

This is defined some where dynamically. for reference you may check this link


Your Answer

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

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