Files
web/app/[lang]/(live)/(public)/hotelreservation
Niclas Edenvin ef22fc4627 This creates the alternative hotels page. It is mostly a copy of the select hotel page, and most of the contents of the pages lives under the same component in /components.
Merged in feat/sw-397-alternative-hotels (pull request #1211)

Feat/sw 397 alternative hotels

* fix(SW-397): create alternative hotels page

* update types

* Adapt to new changes for fetching data

* Make bookingcode optional

* Code review fixes


Approved-by: Simon.Emanuelsson
2025-01-28 12:08:40 +00:00
..
2024-11-29 15:55:30 +01:00

Booking flow

The booking flow is the user journey of booking one or more rooms at our hotels. Everything from choosing the date to payment and confirmation is part of the booking flow.

Booking widget

On most of the pages on the website we have a booking widget. This is where the user starts the booking flow, by filling the form and submit. If they entered a city as the destination they will land on the select hotel page and if they entered a specific hotel they will land on the select rate page.

Select hotel

Lists available hotels based on the search criteria. When the user selects a hotel they land on the select rate page.

Select rate, room, breakfast etc

This is a page with an accordion like design, but every accordion is handled as its own page with its own URL.

State management

The state, like search parameters and selected alternatives, is kept throughout the booking flow in the URL.