title: Find parent id of product in magento
body: <p>here is my code.</p>
  
  <pre><code> $storeId = Mage::app()-&gt;getStore()-&gt;getId();
      $session = Mage::getSingleton('checkout/session');
      foreach($session-&gt;getQuote()-&gt;getAllItems() as $item) 
      {//how to find parent id here}
  </code></pre>
  
  <p>At the above mentioned comment I want to access parent id of that particular product.
  Please Help ..</p>