/** * Preprocessor for no-action ren * * @return void */ protected function doNoAction() { parent::doNoAction(); if (!\XLite\Core\Request::getInstance()->isAJAX()) { \XLite\Core\Session::getInstance()->continueShoppingURL = $this->getURL(); } }
/** * Check if redirect to clean URL is needed * * @return boolean */ protected function isRedirectToCleanURLNeeded() { return parent::isRedirectToCleanURLNeeded() && false; }
/** * Check controller visibility * * @return boolean */ protected function isVisible() { return parent::isVisible() && $this->getProduct(); }