Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

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