Hey team,
I have a use case that I can’t solve by myself. So I have a page. On this page, I use CMS data. So basically, it returns houses to rent. Of course, I have one page for every location. So I handled that part successfully.
For every location page, I have different kinds of rent: house, apartment, guest house, Bed& breakfast etc.
And here is my struggle. If my users are on the location page in NYC, they will see all the houses in NYC. But if he wants to visit a page with only Bed & Breakfast in NYC from this location page, I don’t know how to do it.
I have 3 CMS databases:
- Location (record of the different locations in different places).
- type of houses (record of the different kinds of houses).
- houses (record of all the houses).
I’m sure it’s doable, but I don’t know how. Right now, I only succeed on the location page to filter the type of houses available per location. But when users click on a type of house in a specific location, it redirects users to all the types of houses worldwide, not in a specific place.
How can I do that?