/** * Return true if order is not editable and items list should be displayed in static mode * * @return boolean */ protected function isStatic() { return parent::isStatic() || !\XLite::getController()->isOrderEditable(); }