// id of root category could be different of 1
This commit is contained in:
@@ -111,7 +111,7 @@ class CategoryControllerCore extends FrontController
|
|||||||
|
|
||||||
$this->assignScenes();
|
$this->assignScenes();
|
||||||
$this->assignSubcategories();
|
$this->assignSubcategories();
|
||||||
if ($this->category->id != 1)
|
if (!in_array($this->category->id, array(Configuration::get('PS_HOME_CATEGORY'), Configuration::get('PS_ROOT_CATEGORY'))))
|
||||||
$this->assignProductList();
|
$this->assignProductList();
|
||||||
|
|
||||||
$this->context->smarty->assign(array(
|
$this->context->smarty->assign(array(
|
||||||
|
|||||||
Reference in New Issue
Block a user