Syns Posted July 2, 2015 Share Posted July 2, 2015 Hi. I have a problem with layered block, everytime I tick some filter on Layered block and then I sort it with "product sort" (eg. sort by highest price), it only returns with with Product sort filter result meanwhile the layered block became unticked again. but if I do it the other way, I sort it first by price for example and then tick some checkbox filter on layered block it works fine, both filters works (both layered block and product sort filters on selected value with desired result showing). I also noticed, if I tick layered block checkbox it only refresh the product result, but if I activate product sort filter it refresh the whole page (maybe thats why the tick on checkbox disappear) how to fix it? I'm using prestashop 1.6.0.14 (link: kliknklik.com) Thank you. Link to comment Share on other sites More sharing options...
shacker Posted July 3, 2015 Share Posted July 3, 2015 try to update to latest layered navigation. and check if with latest ps version in default theme you have same error Link to comment Share on other sites More sharing options...
Syns Posted July 3, 2015 Author Share Posted July 3, 2015 I've updated layered navigation and try with default themes, and it works. when I try with non-default theme but it only works on chrome, while on firefox still the same as before(cache and cookie cleared). any idea? Link to comment Share on other sites More sharing options...
shacker Posted July 3, 2015 Share Posted July 3, 2015 check if in your template, you have themes/yourtheme/modules/blocklayered rename these folder and check if works Link to comment Share on other sites More sharing options...
Syns Posted July 6, 2015 Author Share Posted July 6, 2015 (edited) still doesn't work, the page still refreshed on firefox after I pick a sort by filter. btw I noticed the same case on prestashop demo, regardless of browser when you combine layered navigation filter first and then product sort filter after that, the page refreshed itself. Edited July 6, 2015 by Syns (see edit history) Link to comment Share on other sites More sharing options...
shacker Posted July 6, 2015 Share Posted July 6, 2015 ok, so thats can be reported to issue tracker Link to comment Share on other sites More sharing options...
Syns Posted July 7, 2015 Author Share Posted July 7, 2015 great, I'm looking forward for the news. Thank's Link to comment Share on other sites More sharing options...
Syns Posted July 13, 2015 Author Share Posted July 13, 2015 I found the solution for this problem I guess it caused by prestashop 1.6.0.14 default setting. thank's Link to comment Share on other sites More sharing options...
shacker Posted July 13, 2015 Share Posted July 13, 2015 ok, perfect Link to comment Share on other sites More sharing options...
IMIvo Posted September 15, 2015 Share Posted September 15, 2015 Hi, i am having the same problem, what was the solution exactly, what default setting need changing? Link to comment Share on other sites More sharing options...
stdeykun Posted May 18, 2017 Share Posted May 18, 2017 (edited) Go to global.js find event with .selectProductSort and remove or comment it. $(document).on('change', '.selectProductSort', function(e){ if (typeof request != 'undefined' && request) var requestSortProducts = request; var splitData = $(this).val().split(':'); var url = ''; if (typeof requestSortProducts != 'undefined' && requestSortProducts) { url += requestSortProducts ; if (typeof splitData[0] !== 'undefined' && splitData[0]) { url += ( requestSortProducts.indexOf('?') < 0 ? '?' : '&') + 'orderby=' + splitData[0] + (splitData[1] ? '&orderway=' + splitData[1] : ''); if (typeof splitData[1] !== 'undefined' && splitData[1]) url += '&orderway=' + splitData[1]; } document.location.href = url; } }); Edited May 18, 2017 by stdeykun (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now