/** * @override * @throws Exception */ protected function checkModules() { parent::checkModules(); if (!$this->isSale) { throw new SystemException(Loc::getMessage("CVP_SALE_MODULE_NOT_INSTALLED")); } }