diff --git a/templates/catalog/_partials/facets.tpl b/templates/catalog/_partials/facets.tpl index 32f4f1f..c414b71 100644 --- a/templates/catalog/_partials/facets.tpl +++ b/templates/catalog/_partials/facets.tpl @@ -22,6 +22,82 @@ * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * International Registered Trademark & Property of PrestaShop SA *} +{if $facets|count} +
+
+ {block name='facets_clearall_button'} + {if $activeFilters|count} + + {else} + + {/if} + {/block} +
+ {foreach from=$facets item="facet"} + {if !$facet.displayed} + {continue} + {/if} + {if $facet.widgetType === 'dropdown'} +
+

+ + +

+ + +
+ {/if} + {/foreach} +
+{/if} + + + {* {if $facets|count} {/if} +*} diff --git a/templates/catalog/_partials/products-top.tpl b/templates/catalog/_partials/products-top.tpl index 459b49b..e301e5b 100644 --- a/templates/catalog/_partials/products-top.tpl +++ b/templates/catalog/_partials/products-top.tpl @@ -22,6 +22,40 @@ * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * International Registered Trademark & Property of PrestaShop SA *} + +
+ +
+ + + +{*
{if !empty($listing.rendered_facets)} @@ -33,3 +67,4 @@ {include file='catalog/_partials/sort-orders.tpl' sort_orders=$listing.sort_orders} {/block}
+*} diff --git a/templates/catalog/_partials/sort-orders.tpl b/templates/catalog/_partials/sort-orders.tpl index 4b71b8b..f8b44f8 100644 --- a/templates/catalog/_partials/sort-orders.tpl +++ b/templates/catalog/_partials/sort-orders.tpl @@ -22,6 +22,41 @@ * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) * International Registered Trademark & Property of PrestaShop SA *} + +
+

+ + +

+ + +
+ + +{*
+*}