// Fixing problems with blocklayered
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12054 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -293,7 +293,10 @@ function reloadContent(params_plus)
|
|||||||
});
|
});
|
||||||
|
|
||||||
$('#layered_form .select option:checked').each( function () {
|
$('#layered_form .select option:checked').each( function () {
|
||||||
data += '&'+$(this).attr('id') + '=' + $(this).val();
|
if($(this).attr('id'))
|
||||||
|
{
|
||||||
|
data += '&'+$(this).attr('id') + '=' + $(this).val();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if ($('#selectPrductSort').length)
|
if ($('#selectPrductSort').length)
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ param_product_url = '';
|
|||||||
<select class="select" {if $filter.filter_show_limit > 1}multiple="multiple" size="{$filter.filter_show_limit}"{/if}>
|
<select class="select" {if $filter.filter_show_limit > 1}multiple="multiple" size="{$filter.filter_show_limit}"{/if}>
|
||||||
<option value="">{l s='No filters' mod='blocklayered'}</option>
|
<option value="">{l s='No filters' mod='blocklayered'}</option>
|
||||||
{foreach from=$filter.values key=id_value item=value}
|
{foreach from=$filter.values key=id_value item=value}
|
||||||
<option style="color: {if isset($value.color)}{$value.color}{/if}" id="layered_id_attribute_group_{$id_value}" value="{$id_value}_{$filter.id_key}" {if isset($value.checked) && $value.checked}selected="selected"{/if}>
|
<option style="color: {if isset($value.color)}{$value.color}{/if}" id="layered_{$filter.type_lite}{if $id_value || $filter.type == 'quantity'}_{$id_value}{/if}" value="{$id_value}_{$filter.id_key}" {if isset($value.checked) && $value.checked}selected="selected"{/if}>
|
||||||
{$value.name|escape:html:'UTF-8'}{if $layered_show_qties}<span> ({$value.nbr})</span>{/if}</a>
|
{$value.name|escape:html:'UTF-8'}{if $layered_show_qties}<span> ({$value.nbr})</span>{/if}</a>
|
||||||
</option>
|
</option>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<module>
|
<module>
|
||||||
<name>blocklayered</name>
|
<name>blocklayered</name>
|
||||||
<displayName><![CDATA[Layered navigation block]]></displayName>
|
<displayName><![CDATA[Layered navigation block]]></displayName>
|
||||||
<version><![CDATA[1.7.3]]></version>
|
<version><![CDATA[1.7.4]]></version>
|
||||||
<description><![CDATA[Displays a block with layered navigation filters.]]></description>
|
<description><![CDATA[Displays a block with layered navigation filters.]]></description>
|
||||||
<author><![CDATA[PrestaShop]]></author>
|
<author><![CDATA[PrestaShop]]></author>
|
||||||
<tab><![CDATA[front_office_features]]></tab>
|
<tab><![CDATA[front_office_features]]></tab>
|
||||||
|
|||||||
Reference in New Issue
Block a user