I use this code :
// $items = Mage::getModel(\'checkout/cart\')->getQuote()->getAllItems();
$items = Mage::getSingleton(\'checkout/session\')->getQuote(
You should use the
setQUote
method when calling the collection. Should looks like this
$quote = Mage::getModel('sales/quote')->load($quote_id);
$salesQuoteItem = Mage::getModel('sales/quote_item')->getCollection()
->setQuote($quote)
->addFieldToFilter('quote_id', $quote_id)
->addFieldToFilter('product_id', $data['product_id'])
->getFirstItem();