daniel estart Posted December 6, 2015 Share Posted December 6, 2015 Hi everyone, I hoped I could resolve my problem without posting to this forum but no avail. I have a problem with blocklayered module and product filtering. When I click one of the filters nothing actually happens. I see that 6 products have some attribute and I would expect when I check that attribute products would refresh and show only six, but they refresh and show all, just like before. Did anyone had this issue before? I'm really stuck with this. I'm running presta 1.6.1.1, the address is euredski.hr/193-uredske-stolice. If prompted, user name and password are eured / vteured. Thanks! Link to comment Share on other sites More sharing options...
iTea Posted December 6, 2015 Share Posted December 6, 2015 Had the same problem. Has to do with caching: https://www.prestashop.com/forums/topic/459678-solved-blocklayered-navigation-not-working-with-cache-active/?p=2127508. Solution is here: https://github.com/PrestaShop/blocklayered/pull/88/files. Good luck! 1 Link to comment Share on other sites More sharing options...
daniel estart Posted December 7, 2015 Author Share Posted December 7, 2015 Thanks for this information. I made the changes like it says on the github, but with no luck. Things still remained the same. But I noticed that filters were getting passed, just products weren't filtered. So, I fetched the IDs of the products that were supposed to show after filter was applied and I wrote a jquery function that would hide all products and show only those with specific IDs. Amazingly, it worked. This troubled me several days and answer came as a few lines of code, couldn't be simpler. Link to comment Share on other sites More sharing options...
iTea Posted December 7, 2015 Share Posted December 7, 2015 OK, glad it works. The github changes worked perfectly for me though. You did make a template in blocklayered I presume? Link to comment Share on other sites More sharing options...
daniel estart Posted December 7, 2015 Author Share Posted December 7, 2015 Yes 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