title: Get shopping cart details in Magento
body: <p>I want to get the shopping cart details, by using Magento's <code>getQuote</code> function. How can I do this?</p>
  
  <pre><code>$cart = Mage::getModel('checkout/cart')-&gt;getQuote();
  </code></pre>
  
  <p>When I print the <code>$cart</code> Page stops execution and blank page is shown.
   But when I write </p>
  
  <pre><code>$cart = Mage::getModel('checkout/cart')-&gt;getQuote()-&gt;getData();
  </code></pre>
  
  <p>and print the <code>$cart</code> an array will show. But I want to track the complete cart data (product Id,Product price like all information).</p>
  
  <p>Is there any other method by which I can find the shopping card data?</p>