Skip to main content

Q. What are total models responsible for in Magento?

Quote, invoice, creditmemo

- discount
- grand total
- shipping
- subtotal
- tax
- nominal
- custbalance
- freeshipping

dispatches event “sales_quote_address_discount_item” in collect method of Mage_Sales_Model_Quote_Address_Total_*

getCollectors() – Get total models array ordered for right *calculation logic*
getRetrievers() – Get total models array ordered for right *display sequence*

By Michael Cristancho

I'm a Digital Commerce and Experience evangelist who enjoys engaging in thought-provoking conversation and mutual exploration. I am a strong believer that learning never ends, and each day brings another opportunity to grow as an individual and professional.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.