// id of root category could be different of 1
This commit is contained in:
1 parent
c5ff838fca
commit
746c74dfac
1 file changed
+1
-1
@@ -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