0
같은 필드하지만 다른 필드 value.But 필터링 된 두 컬렉션을 병합하려고 해요 문제는 내가 병합 컬렉션 결과를 같은 getMethod 같은 개체의 magento . 내가 일할 수있는 해결책을 알려줘. 여기 mycode동일한 필드에 대해 둘 이상의 값으로 컬렉션을 필터링하는 방법은 무엇입니까?
$shippedCollection = array();
$processingCollection = array();
$orderSCollection = Mage::getModel('sales/order')->getCollection();
$shippedCollection = $orderSCollection->addFieldToFilter('status','delivered_carrier');
$orderPCollection = Mage::getModel('sales/order')->getCollection();
$processingCollection = $orderPCollection->addFieldToFilter('status','processing');
$order = array_merge($shippedCollection->getAllIds(),$processingCollection->getAllIds());
echo $order->getData('increment_id');