Skip to main content
5 events
when toggle format what by license comment
Aug 6, 2014 at 22:20 vote accept Joe78
Aug 6, 2014 at 22:19 comment added Colin O'Dell Going off my first example, you can obtain the quote by using $quote = $model->getQuote(). From there you can do $quote->getAllItems() or $quote->getBillingAddress() - whatever you need.
Aug 6, 2014 at 22:16 comment added Joe78 Got it! Use sales_quote_load_after for the event instead. Then you can grab the quote like this $observer->getEvent()->getQuote() and the billing address for example like this $observer->getEvent()->getQuote()->getBillingAddress()
Aug 6, 2014 at 21:49 comment added Joe78 Thanks! Very helpful! Can you provide an example such as grabbing the product ID or customer address?
Aug 6, 2014 at 20:01 history answered Colin O'Dell CC BY-SA 3.0