title: Magento - get children of quote item
body: <p>I am attempting to retrieve the quote items that have a particular parent_item_id</p>
  
  <p>I actually have an instance of the parent quote item which I retrieved like so:</p>
  
  <pre><code>$parentQuoteItem = Mage::getModel("sales/quote_item")-&gt;load($quoteItemId);
  </code></pre>
  
  <p>How can I extract the children of this quote item?</p>
  
  <p>I have tried calling the getChildren() method but unfortunately its giving an empty array:</p>
  
  <pre><code>$parentQuoteItem-&gt;getChildren()
  </code></pre>
  
  <p>Any help is greatly appreciated :)</p>
  
  <p>---------------<strong>UPDATE</strong>-----------------------------</p>
  
  <p>I kinda solved the issue with the following code:</p>
  
  <pre><code>$aChildQuoteItems = Mage::getModel("sales/quote_item")
                                  -&gt;getCollection()
                                  -&gt;setQuote($mQuote)
                                  -&gt;addFieldToFilter("parent_item_id", $quoteItemId);
  </code></pre>