It may happen that after the Hotel Booking activation you accidentally skipped plugin system pages installation. This will result in booking process not working properly due to missing Search Results, Booking Confirmation etc. pages.
Now let's learn how to create those pages manually and assign them to corresponding options under Hotel Booking settings.
Firstly, let's find out what pages are required to have the booking process going smoothly. Navigate to Accommodation ->Settings to see required system pages:
As you can see on the screenshot above, we need Search Results, Checkout, Terms & Conditions (optional) and Booking Confirmed pages.
In order to avoid duplicating pages check drop-downs next to each of those options first to make sure pages do not exist - if they do exist, simply select them for each option respectively and save changes.
Now let's create required pages in case they do not exist.
Navigate to Pages ->Add New and add a new page with the "Search Results" title, insert the [mphb_search_results] shortcode to the page content using text editor. If you are using any kind of page builder, you will need to use "text" block/widget/module and insert the shortcode to it:
Make sure to save changes so the page appears in your pages list.
Now, add a new page with the "Checkout" or "Booking Confirmation" title, insert the [mphb_checkout] shortcode to the page content and save changes:
Repeat the same process for the Booking Confirmed page. The page should include the [mphb_booking_confirmation] shortcode.
Now that all these pages are created you should navigate back to Accommodation ->Settings and select created pages for corresponding options:
As for the Terms & Conditions page, it is not required for the booking process, however, if you would like your guests to confirm they have read and agreed to your terms, you should create such a page and assign it to respective option under Accommodation ->Settings. The page should contain terms and conditions you have for bookings on your website and any other valuable information you have got for your guests.
The above is usually enough to make sure booking process works properly. However, in case you are using "Confirmation upon payment" mode on your website, you will also need to create Reservation Received and Failed Transaction pages. The Reservation Received page should contain the same shortcode as the Booking Confirmed page: [mphb_booking_confirmation], and the Failed Transaction page should contain a slight text message, e.g.: "Unfortunately, your transaction cannot be completed at this time. Please try again or contact us." Once these two pages are created make sure to assign them to respective options under Accommodation ->Settings ->Payment Gateways:
That's it! You have now learnt how to set up system pages in the Hotel Booking plugin.
Article is closed for comments.