From b4265470848c85dfbb1815360c9c860ef1116ab3 Mon Sep 17 00:00:00 2001 From: Vivien Cormier Date: Mon, 12 Sep 2022 16:34:34 +0200 Subject: [PATCH] fix: remove facets from categoryproducts --- controllers/front/categoryproducts.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/controllers/front/categoryproducts.php b/controllers/front/categoryproducts.php index 73105fd..bbe0452 100644 --- a/controllers/front/categoryproducts.php +++ b/controllers/front/categoryproducts.php @@ -100,11 +100,6 @@ protected function processGetRequest() $new_product_list[] = $product_detail; } - $facets = array(); - foreach ($variables['facets']['filters']->getFacets() as $facet) { - array_push($facets, $facet->toArray()); - } - $psdata = [ 'description' => $this->category->description, 'active' => $this->category->active, @@ -117,7 +112,6 @@ protected function processGetRequest() 'sort_orders' => $variables['sort_orders'], 'sort_selected' => $variables['sort_selected'], 'pagination' => $variables['pagination'], - 'facets' => $facets ]; if (Tools::getValue('with_category_tree')){