{** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License 3.0 (AFL-3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/AFL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * @author PrestaShop SA * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) *} {if $displayedFacets|count}
{block name='facets_title'}

{l s='Filter By' d='Shop.Theme.Actions'}

{/block} {block name='facets_clearall_button'} {if $activeFilters|count}
{/if} {/block} {foreach from=$displayedFacets item="facet"}

{$facet.label}

{assign var=_expand_id value=10|mt_rand:100000} {assign var=_collapse value=true} {foreach from=$facet.filters item="filter"} {if $filter.active}{assign var=_collapse value=false}{/if} {/foreach}

{$facet.label}

{if in_array($facet.widgetType, ['radio', 'checkbox'])} {block name='facet_item_other'} {/block} {elseif $facet.widgetType == 'dropdown'} {block name='facet_item_dropdown'} {/block} {elseif $facet.widgetType == 'slider'} {block name='facet_item_slider'} {foreach from=$facet.filters item="filter"}
  • {$filter.label}

{/foreach} {/block} {/if}
{/foreach}
{else} {/if}