public function renderDefault() { $this->template->offersShipment = $this->shipmentService->existsAnyShipmentOption(); }
public function actionDefault() { if (!$this->shipmentService->existsAnyShipmentOption()) { $this->redirect(':Front:Order:Payment:'); } }