{* * 2007-2014 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * 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. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2014 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registred Trademark & Property of PrestaShop SA *} {if $nbr_filterBlocks != 0}

{l s='Catalog' mod='blocklayered'}

{if isset($selected_filters) && $n_filters > 0}
{l s='Enabled filters:' mod='blocklayered'}
    {foreach from=$selected_filters key=filter_type item=filter_values} {foreach from=$filter_values key=filter_key item=filter_value name=f_values} {foreach from=$filters item=filter} {if $filter.type == $filter_type && isset($filter.values)} {if isset($filter.slider)} {if $smarty.foreach.f_values.first}
  • x {if $filter.format == 1} {l s='%1$s: %2$s - %3$s'|sprintf:$filter.name:{displayPrice price=$filter.values[0]}:{displayPrice price=$filter.values[1]}|escape:html:'UTF-8' mod='blocklayered'} {else} {l s='%1$s: %2$s %4$s - %3$s %4$s'|sprintf:$filter.name:$filter.values[0]:$filter.values[1]:$filter.unit|escape:html:'UTF-8' mod='blocklayered'} {/if}
  • {/if} {else} {foreach from=$filter.values key=id_value item=value} {if $id_value == $filter_key && !is_numeric($filter_value) && ($filter.type eq 'id_attribute_group' || $filter.type eq 'id_feature') || $id_value == $filter_value && $filter.type neq 'id_attribute_group' && $filter.type neq 'id_feature'}
  • x {l s='%1$s: %2$s' mod='blocklayered' sprintf=[$filter.name, $value.name]}
  • {/if} {/foreach} {/if} {/if} {/foreach} {/foreach} {/foreach}
{/if} {foreach from=$filters item=filter} {if isset($filter.values)} {if isset($filter.slider)} {foreach from=$filters item=filter} {if $filter.type_lite == 'id_attribute_group' && isset($filter.is_color_group) && $filter.is_color_group && $filter.filter_type != 2} {foreach from=$filter.values key=id_value item=value} {if isset($value.checked)} {/if} {/foreach} {/if} {/foreach}
{else}


{l s='Loading...' mod='blocklayered'}

{/if}