0

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

3

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

https://gielberkers.com/magentos-magical-getters-setters-demystified/
| improve this answer | |

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.