I am using this event: sales_quote_save_after
This is my function code:
public function myFunction(Varien_Event_Observer $o){
$quote = $o->getEvent()->getQuote();
}
I have simple products
and bundle products
. I would like to remove only simple products. How can I do that?
Thx
sales_quote_save_after
event again. This is dangerous grounds for an infinite loop unless you're careful. Your best bet is to remove the items before saving the quote.