Jump to content

Block Layered Navigation set filters disappears by pressing the back button


oracle178

Recommended Posts

Hello everyone,

My PrestaShop version 1.6.1.3, the theme is not default.
I use the Block Layered Navigation module, I choose some attribute filters, filters the goods well, go to the product, and go away, pressing the browser's back button. All of the above filters to choose disappears during reloading.
Maybe someone you know why this happens?
 

Regards

Link to comment
Share on other sites

I just checked your store and the layered navigation functions. it looks working fine to me (using Chrome).

 

pressing the browser's back button. All of the above filters to choose disappears during reloading

 

 

 

I can see all the filters are still there, but the selected values are reset as original default values.  I thinks this is normal, because you reloaded the pages.

Link to comment
Share on other sites

  • 2 months later...

Thanks shokinro !

I thought it could be the solution, but it fails.

I set Cache in Smarty part.

Actually, when I am pressing back button on browser I can see the right url with the previous parameters, but then it disappears...

When I try to set "Use cache" (with file system) on the last Cache part of the Performences page, the layered navigation doesn't work anymore...

here is the page http://dvartorah.org/5-rabbanim-et-#/

Edited by Pat_07 (see edit history)
Link to comment
Share on other sites

No it is not server cache, it is browser page cache.

When server render a page to browser (client), it can specify if the page can be cached by client and how much time to be cache.

This is just one of my doubt. It could be something else.

Link to comment
Share on other sites

  • 1 year later...
  • 9 months later...

Any solution for this issue?

In my case, when activating filters price and/or weight (other filters work), then clicking on a product, then back button - the filter disappears (resets). It's in Google Chrome (Firefox, Safari seems to work).

For instance, with filter price active: https://vaggur.se/11-vaggklockor-kreativ-modern-design#/pris-159-2238

Then clicking on a product, then back button the URL looks like this (and category page is reloaded) https://vaggur.se/11-vaggklockor-kreativ-modern-design#

Link to comment
Share on other sites

  • 2 months later...
On 11/10/2018 at 12:48 PM, tomped said:

Any solution for this issue?

In my case, when activating filters price and/or weight (other filters work), then clicking on a product, then back button - the filter disappears (resets). It's in Google Chrome (Firefox, Safari seems to work).

For instance, with filter price active: https://vaggur.se/11-vaggklockor-kreativ-modern-design#/pris-159-2238

Then clicking on a product, then back button the URL looks like this (and category page is reloaded) https://vaggur.se/11-vaggklockor-kreativ-modern-design#

 

i checked your site and it looks works fine! how did u solve it???? I hope u can help me :D  Thanks

Link to comment
Share on other sites

5 hours ago, piribipipi said:

 

i checked your site and it looks works fine! how did u solve it???? I hope u can help me :D  Thanks

Unfortunately it's not solved.

It works in Firefox and some other browsers, but not in Chrome.

When activating either "Storlek" (size) or "Pris" (price), the page resets after clicking back. It works for the other filters.

According to our theme developer it seems to be an issue with core Prestashop files.

Link to comment
Share on other sites

  • 3 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...