0
我想基於產品和報價ID使用,getQty()給予致命的錯誤在Magento 1.9
$quotecollection = Mage::getModel('sales/quote_item')->getCollection()->addFieldToFilter('quote_id',$quoteId)->addFieldToFilter('product_id',$product_id);
$quotecollectionaArr = $quotecollection->getData();
echo $quotecollection->getQty();
它提供了以下錯誤獲取集合
Fatal error: Call to undefined method Mage_Sales_Model_Resource_Quote_Item_Collection::getQty() in C:\xampp\htdocs....
請幫忙。