Hi all! On my site - users can filter down a product repeating group (by type, price, etc.) and then click on a product to see further details. However, when the user returns from the product page to the browse page, the filter is reset (showing all products). Is there a way to maintain the state of the browse page so that when the user returns, they have their most recent filter applied? Thanks!
Either save it in the dB. Current user saved filter settings
Or whenever filters are changed, save it in the URL. Then use that when going back. i.e. go back rather than go to page.
Fundamentally, the information of the filters needs to be captured somewhere
And then restored from that place.
Thanks
Zubair
I wouldn’t save it in the DB but you can use URL parameters or cookies / local storage to save the filter. What may be the easiest is to have the product page itself on the browse page using a SPA approach…
1 Like