Magento Forum

getting cart items info
 
Mr.H
Jr. Member
 
Total Posts:  1
Joined:  2009-01-01
 

Hi,
I was trying to get the cart items Ids, qty and prices. in particular I want to get bundle - option items relations.

I thought it would be straight forward by:

$cart Mage::getSingleton('checkout/cart');

$cart->getQuote()->getAllItems();

//Or:
cart->getQuote()->getAllVisibleItems()

//Or:

cart->getQuote()->getPaymentsCollection()

But I’m keep geting this error:
<b>Fatal error</b>:  Nesting level too deep - recursive dependency....

Help Please !!

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top