getAreaId(); $modeId = $this->getDeliveryModeId(); $areaPrices = SocolissimoPriceQuery::create() ->filterByDeliveryModeId($modeId) ->filterByAreaId($areaId) ->orderByWeightMax(); return $areaPrices; } public function parseResults(LoopResult $loopResult) { /** @var \SoColissimo\Model\SocolissimoPrice $price */ foreach ($loopResult->getResultDataCollection() as $price) { $loopResultRow = new LoopResultRow($price); $loopResultRow ->set("SLICE_ID", $price->getId()) ->set("MAX_WEIGHT", $price->getWeightMax()) ->set("MAX_PRICE", $price->getPriceMax()) ->set("PRICE", $price->getPrice()) ->set("FRANCO", $price->getFrancoMinPrice()) ; $loopResult->addRow($loopResultRow); } return $loopResult; } }