// removing categories assocation with shop
This commit is contained in:
@@ -49,11 +49,6 @@ 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