From 6cfc79f8b5570d321bab9bf7b250e1811e3848c0 Mon Sep 17 00:00:00 2001 From: Niclas Edenvin Date: Mon, 16 Sep 2024 07:09:47 +0000 Subject: [PATCH] Merged in feat/booking-flow-documentation (pull request #581) Add readme for booking flow * Add readme for booking flow Approved-by: Fredrik Thorsson --- .../(public)/hotelreservation/README.md | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 app/[lang]/(live)/(public)/hotelreservation/README.md diff --git a/app/[lang]/(live)/(public)/hotelreservation/README.md b/app/[lang]/(live)/(public)/hotelreservation/README.md new file mode 100644 index 000000000..fdc0f1ad4 --- /dev/null +++ b/app/[lang]/(live)/(public)/hotelreservation/README.md @@ -0,0 +1,27 @@ +# 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.