0
我對magento很新。任何人都可以幫助我在Magento集合中加載mage_sales_flat_quote_item_option
這張表。如何在magento集合中加載mage_sales_flat_quote_item_option此表?
感謝
我對magento很新。任何人都可以幫助我在Magento集合中加載mage_sales_flat_quote_item_option
這張表。如何在magento集合中加載mage_sales_flat_quote_item_option此表?
感謝
$collection = Mage::getModel('sales/quote_item_option')->getCollection();
編輯
有人問在評論至於如何從集合中的每個模型得到一個單一的屬性值:
$collection->getColumnValues('your_column_name');
感謝畫獵人。你能再次幫助我嗎?如何使用此magento集合獲取此表中的單個字段。 – Prasoft 2012-07-16 07:23:23
集合中每個模型的單個字段還是集合中特定模型的特定字段? – 2012-07-16 07:28:55