Hello Nicolas,
Thank you very much. I believe you understand that need to set all filter again and again is very inconvenient for users. But.. I checked hikashop.js and find the code that you are talking about. There was this piece of code, commented:
*/
if(resp.newURL) {
var urlInHistory = resp.newURL.replace('tmpl=raw&', '', 'g').replace('filter=1&', '', 'g').replace('&tmpl=raw', '', 'g').replace('&filter=1', '', 'g');
window.history.pushState(data, d.title, urlInHistory);
window.addEventListener('popstate', function(e) {
if(window.location.href.includes('hikashop_url_reload=1')) {
window.location.href.replace('&hikashop_url_reload=1','').reload();
}
});
}
*/
So I uncommented and now it works as I needed. What particular issues you had with it? It really works like a charm. Only issue is that when you get back to url without filters, filters are not removed, but it is not such a problem.
Thank you,
Filip