Magento Certified Developer GuideCategory: 8. CheckoutWhich class runs total models processing
Manish Prakash Staff asked 2 years ago

in the class ‘sales/quote_address’ we have the collectTotals() function

public function collectTotals()
    {
        Mage::dispatchEvent($this->_eventPrefix . '_collect_totals_before', array($this->_eventObject => $this));
        foreach ($this->getTotalCollector()->getCollectors() as $model) {
            $model->collect($this);
        }
        Mage::dispatchEvent($this->_eventPrefix . '_collect_totals_after', array($this->_eventObject => $this));
        return $this;
    }