findOneById(1)){ $isFreeShippingActive = new ColissimoHomeDeliveryFreeshipping(); $isFreeShippingActive->setId(1); $isFreeShippingActive->setActive(0); $isFreeShippingActive->save(); } return ColissimoHomeDeliveryFreeshippingQuery::create()->filterById(1); } public function parseResults(LoopResult $loopResult) { /** @var ColissimoHomeDeliveryFreeshipping $freeshipping */ foreach ($loopResult->getResultDataCollection() as $freeshipping) { $loopResultRow = new LoopResultRow($freeshipping); $loopResultRow ->set('FREESHIPPING_ACTIVE', $freeshipping->getActive()) ->set('FREESHIPPING_FROM', $freeshipping->getFreeshippingFrom()); $loopResult->addRow($loopResultRow); } return $loopResult; } }