top of page
Crumpled Fabric

1

Display Search/Filter Results on Another Page

Click URL to copy

Jan 2, 2022

2 min read

WIX Ideas Team

Tags: Repeater Dataset Filter Repeater Filter Velo by Wix Dataset WIX Data WIX Storage Session Storage

Hi there ⚡


In this tutorial, I have shared the process to displaying your search or filter results on another page using WIX Storage API.


FIRST STEPS

  1. Setup your filter elements on your Home page or any page you want

  2. Setup your filter elements on your Search results page


HOME PAGE STEPS

  1. Add code to save the user inputs and redirect them to the search results page


SEARCH RESULTS PAGE STEPS

  1. Add code to retrieve the saved user inputs and display them on the appropriate element from the session storage

  2. Add code to auto-filter your dataset with the saved data in your session storage when the page load


These are basically the steps REQUIRED.


What is WIX Storage?

The wix-storage module contains functionality for the persistent storage of key/value data in the site visitor's browser.


  • Local: Data in local storage never expires, even if the site visitor closes your page. When the visitor reopens the page later, the data can still be retrieved. You can store up to 50kb of data in local storage.

  • Session: Data in session storage is available while the site visitor's web session is active. The session ends when the visitor closes the browser tab or window. When the session ends, all the data in session storage is lost. Reloading or restoring the page does not affect session storage data. You can store up to 50kb of data in session storage.

  • Memory: Data in memory storage is available as long the site visitor does not refresh or close the page. Reloading or restoring the page clears the memory storage data. You can store up to 1mb of data in memory storage.


WATCH VIDEO 📺 - https://youtu.be/g-EtsaNdUBk

COPY LINK BELOW 👇🏽


Code



Leave a comment (0)

Thanks for leaving a comment🎉

RELATED TUTORIALS 🚀

Filter Wix Repeater with Dataset

Filter Wix Repeater with Dataset

Filter Wix repeater using dataset. No code needed!

bottom of page