Skip to main content
Skip table of contents

How to display the results of a search in a new page?

It is possible to redirect to a different page to show the results of the search.

  • You will create a “Booking” page, which will be the page where your customers will be redirected to, once they have entered check-in, check-out and optionally number of adults and children. For our example, we will say that the URL of this “Booking” page is : http://www.abc.com/main-booking-form

  • In this “Booking” page, you will have the shortcode:

[hb_booking_form]

  • In the page where you have the search form, you will write the shortcode using the parameters “search_only” and “redirection_url”. With our example, we will write:

[hb_booking_form search_only="yes" redirection_url="http://www.abc.com/main-booking-form"]

By doing so, your customer enters the check-in and check-out dates as well as the number of adults and children if requested. When he presses the “Search” button, he is redirected to your “Booking” page for the next step of the booking (selection of accommodation and extra-services, customer details, payment, confirmation).

Please check this section of the documentation for further details about the parameters.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.