[*] BO : New category management with multi shop
This commit is contained in:
1 parent
74af9af141
commit
07ac99f5de
14 files changed
+260
-14
No files matched your search
@@ -49,6 +49,11 @@ class CategoryControllerCore extends FrontController
|
||||
|
||||
public function canonicalRedirection($canonicalURL = '')
|
||||
{
|
||||
if (!Shop::isCategoryAvailable(Tools::getValue('id_category')))
|
||||
{
|
||||
$this->redirect_after = '404';
|
||||
$this->redirect();
|
||||
}
|
||||
if (!Tools::getValue('noredirect') && Validate::isLoadedObject($this->category))
|
||||
parent::canonicalRedirection($this->context->link->getCategoryLink($this->category));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user