0
我需要得到一個沒有跟蹤號碼在magento中關聯的貨件的集合。零追蹤號碼出貨magento的集合
$collection = Mage::getModel('sales/order_shipment')->getCollection();
$collection->addAttributeTofilter('track_number', ''); //not working
請給我一個解決方案,如果你有。
嘗試'$收藏 - > addAttributeTofilter( '音軌',陣列( '空'=>真));' – Slimshadddyyy 2014-08-28 12:26:57
謝謝,但我認爲它不工作。我需要以某種方式加入跟蹤貨運模型嗎? – Abhilash 2014-08-28 12:47:21
我雖然已經有貨物收集。 – Slimshadddyyy 2014-08-28 12:49:07