/** * Check if current page is accessible * * @return boolean */ protected function checkAccess() { return parent::checkAccess() && $this->getCart()->getOrigProfile() && !$this->getCart()->getOrigProfile()->getOrder(); }
/** * Check if current page is accessible * * @return boolean */ protected function checkAccess() { return parent::checkAccess() && \XLite\Core\Auth::getInstance()->isLogged(); }