title: How can I get Quote data outside Magento API?
body: <p>I am trying to write a script to process all the orders from my magento store. I am able to get Shipping,Billing address and customer's name but now I want the list of items they have bought which i think will be in "quote" object.</p>
  
  <p>I am trying this 2 lines to get quote object but I am getting an empty array.
  Please tell me what's wrong with this code.</p>
  
  <pre><code>$salesCollection = Mage::getModel("sales/order")-&gt;getCollection()-&gt;addAttributeToFilter('state', array('eq' =&gt; Mage_Sales_Model_Order::STATE_PROCESSING));
  foreach($salesCollection as $order)
  {
     $quote_id = $order-&gt;getQuoteId();
     $quote = Mage::getModel('sales/quote')-&gt;load($quote_id);
     print_r($quote-&gt;getData());
  }
  </code></pre>