{** * 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) *} {include file='./_partials/messages.tpl'} {include file='./_functions/show_limit.tpl'}

{l s='New filters template' d='Modules.Facetedsearch.Admin'}

{include file='./_partials/header.tpl'} {include file='./_partials/controllers.tpl'} {include file='./_partials/categories-tree.tpl'} {include file='./_partials/shops.tpl'}
{l s='Total filters: %s' sprintf=[$total_filters] d='Modules.Facetedsearch.Admin' }
    {foreach from=$default_filters item=filter key=filterId}
  • {l s=$filter['label'] d='Modules.Facetedsearch.Admin'}

    {if !empty($filter['slider'])}

    {l s='List of ranges' d='Modules.Facetedsearch.Admin'}

    {else}
    {/if}
    {if empty($filter['slider'])}
    {call get_limit_select element=$filterId}
    {/if}
  • {/foreach} {if $attribute_groups|count > 0} {foreach $attribute_groups as $attribute_group}
  • {if $attribute_group['n'] > 1} {l s='Attribute group: %name% (%count% attributes)' sprintf=[ '%name%' => $attribute_group['name'], '%count%' => $attribute_group['n'] ] d='Modules.Facetedsearch.Admin' } {else} {l s='Attribute group: %name% (%count% attribute)' sprintf=[ '%name%' => $attribute_group['name'], '%count%' => $attribute_group['n'] ] d='Modules.Facetedsearch.Admin' } {/if} {if $attribute_group['is_color_group']} {/if}
    {call get_limit_select element="layered_selection_ag_{(int)$attribute_group['id_attribute_group']}"}
  • {/foreach} {/if} {if $features|count > 0} {foreach $features as $feature}
  • {if $feature['n'] > 1} {l s='Feature: %name% (%count% values)' sprintf=[ '%name%' => $feature['name'], '%count%' => $feature['n'] ] d='Modules.Facetedsearch.Admin' } {else} {l s='Feature: %name% (%count% value)' sprintf=[ '%name%' => $feature['name'], '%count%' => $feature['n'] ] d='Modules.Facetedsearch.Admin' } {/if}
    {call get_limit_select element="layered_selection_feat_{(int)$feature['id_feature']}"}
  • {/foreach} {/if}
{include file='./_partials/footer.tpl'}