Skip to content

Commit

Permalink
fix: remove facets from categoryproducts
Browse files Browse the repository at this point in the history
  • Loading branch information
VivienCormier committed Sep 12, 2022
1 parent 0e7b34e commit b426547
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions controllers/front/categoryproducts.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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')){
Expand Down

0 comments on commit b426547

Please sign in to comment.