From c3aad31794a1386a047c39c593a6672297dd00eb Mon Sep 17 00:00:00 2001 From: abhisheks Date: Thu, 14 Dec 2023 16:56:42 +0530 Subject: [PATCH] refactor: hide filters options if no facets are found --- templates/catalog/_partials/products-top.tpl | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/templates/catalog/_partials/products-top.tpl b/templates/catalog/_partials/products-top.tpl index 7d6b317..8efc5e9 100644 --- a/templates/catalog/_partials/products-top.tpl +++ b/templates/catalog/_partials/products-top.tpl @@ -29,13 +29,15 @@
- + {if !empty($listing.rendered_facets)} + + {/if}