PrestaShop 1.5.6
When you switch to the directory with the goods, the standard behavior of the display filters properties in the expanded state. How to change this behavior otherwise?
The treatment site and clicks the location button(the character) found:
https://github.com/PrestaShop/PrestaShop/tree/development/modules/blocklayered
File blocklayered.js:
openCloseFilter function()
{
$('#layered_form span.layered_close a').live('click', function(e)
{
if ($(this).html() == '<')
{
$('#'+$(this).attr('rel')).show();
$(this).html('v');
$(this).parent().removeClass('closed');
}
else
{
$('#'+$(this).attr('rel')).hide();
$(this).html('<');
$(this).parent().addClass('closed');
}
e.preventDefault();
});
}
Find more questions by tags JavaScriptPHPPrestashop