The Where to stay page content displays all hotels from all countries and cities. The page gives users the ability to filter hotels on two levels - by country and then by city.
The following screenshot shows the display of Hotels widget:
The hotels widget can be filtered by both city (direct parent) and by country (grandparent). Perform the following:
To achieve a contextual filtering (first by country and then by a city in the currently selected country) you need to drop two widgets – Countries and Cities and configure them appropriately.
The following screenshot shows the display of Countries widget:
Configuring the Countries in the following way:
The following screenshot shows the display of Cities widget:
To enable filtering by cities only for the currently selected country, perform the following:
The following screenshot shows the display of Hotels widget filtered by country USA:
The following screenshot shows the display of Hotels widget, filtered by country USA and city New York:
Sign up for our free beginner training. Boost your credentials through advanced courses and certification. Register for Sitefinity training and certification.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important