0
嗨,需要在产品编号中加入一个报价item.i,我有qoute编号,并尝试了下面的代码,但产品编号似乎没有从报价中显示。从报价编号获取产品编号 - Magento 1.9
$quoteId=784;
$quote = Mage::getModel('sales/quote')->getCollection()
->addFieldToFilter('entity_id', $quoteId)
->getFirstItem();
echo $pid = $quote[product_id] ;
请帮忙从报价ID获得产品ID。
谢谢。