// The blunder wasn't mine :)
This commit is contained in:
@@ -2197,7 +2197,11 @@ class BlockLayered extends Module
|
|||||||
if ($id_parent == 1)
|
if ($id_parent == 1)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
$query_filters_where = ' AND product_shop.`active` = 1 AND product_shop.`visibility` IN ("both", "catalog")';
|
$alias_where = 'p';
|
||||||
|
if (version_compare(_PS_VERSION_,'1.5','>'))
|
||||||
|
$alias_where = 'product_shop';
|
||||||
|
|
||||||
|
$query_filters_where = ' AND '.$alias_where.'.`active` = 1 AND '.$alias_where.'.`visibility` IN ("both", "catalog")';
|
||||||
$query_filters_from = '';
|
$query_filters_from = '';
|
||||||
|
|
||||||
$parent = new Category((int)$id_parent);
|
$parent = new Category((int)$id_parent);
|
||||||
|
|||||||
Reference in New Issue
Block a user