Building a property renting website

I know of 3 ways that Wix allows you to solve the problem.
Method 1. On the home page, based on the selected filters, you create a link with query parameters to the page with the repeater. For example “https://www.yoursite.com/search?minPrice=300000”. When you click on the “Search” button, you open this link.
On the page with the repeater, you check the query parameters, and based on them, change the filters on the page and display the corresponding collection elements. This method is good because you can send a link with filters by mail or share it on social networks.

Method 2: Use session from “wix-storage-frontend” to transfer the selected filters. First, we write the selected filters to session. And then we read them on the page with the repeater.

Method 3. Using “Router Pages”. Applicable if you have a small number of filters. Filters are placed in the path of url address. On the “Router Page” read filters from path and display the results based on the filters. This option is the most difficult to set up.

1 Like