Timeline for Watching Add to Cart Event - quote item id is empty
Current License: CC BY-SA 3.0
15 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 11, 2015 at 15:57 | answer | added | acarbonaro | timeline score: 5 | |
| Nov 12, 2014 at 16:45 | answer | added | Mojo Jojo | timeline score: 2 | |
| Dec 26, 2013 at 3:01 | review | Community Evaluations | |||
| Jan 3, 2014 at 3:01 | |||||
| Nov 13, 2013 at 1:02 | history | tweeted | twitter.com/#!/StackMagento/status/400428406900527104 | ||
| Nov 12, 2013 at 13:22 | vote | accept | Nuno Furtado | ||
| Nov 11, 2013 at 18:32 | answer | added | Fabian Blechschmidt | timeline score: 22 | |
| Nov 11, 2013 at 17:09 | answer | added | Nuno Furtado | timeline score: 1 | |
| Nov 11, 2013 at 16:14 | comment | added | Nuno Furtado | =D still too big, i tried Mage::getLog($quoteItem->debug()) and i notice that there is no itemid in the resulting array. There seems to be an item_id in the stock_item element inside the quoteitem but i'm not even sure what that is. Edit: this isn't it this value is allways the same | |
| Nov 11, 2013 at 16:10 | comment | added | Marius | :). Try to log then Mage::getLog($quoteItem->getData()) maybe you have more luck with it. | |
| Nov 11, 2013 at 16:08 | comment | added | Nuno Furtado | that is a huge amount of information, i'll easily get lost in it | |
| Nov 11, 2013 at 16:02 | review | First posts | |||
| Nov 11, 2013 at 18:30 | |||||
| Nov 11, 2013 at 15:59 | comment | added | Marius | Add this in your observer Mage::log($quoteItem) and see in var/log/system.log how the quote item looks like. Maybe you get an idea from there. | |
| Nov 11, 2013 at 15:58 | comment | added | Nuno Furtado | Same thing, the id comes empty. | |
| Nov 11, 2013 at 15:46 | comment | added | Marius | try with $quoteItem = $observer->getEvent()->getQuoteItem(); | |
| Nov 11, 2013 at 15:43 | history | asked | Nuno Furtado | CC BY-SA 3.0 |