Search code examples
eventsmagentohookobserver-pattern

Magento: Find observers for dispatched events?


I need to find which methods fire when the following event is dispatched

   Mage::dispatchEvent('sales_quote_add_item', array('quote_item' => $item));

I know how to create custom event hook and that it should stay in config.xml, but I can't find hook for this sales_qute_add_item in any of config XMLs.


Solution

  • It's OK. In Magento is no default listener for this event. This event has been added by Magento core team specially for customization purposes.