What Are Total Models Responsible For In Magento?

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_*
————-

Mage/Sales/Model/Quote/Address/Total/Collector.php
getCollectors() – Get total models array ordered for right *calculation logic*
getRetrievers() – Get total models array ordered for right *display sequence*

Zeen is a next generation WordPress theme. It’s powerful, beautifully designed and comes with everything you need to engage your visitors and increase conversions.

Read More
Which Product Types Implement A Parent-Child Relationship Between Product Entities?