This guide explains the available options for integrating the Favourite Table booking system into your website.
Before starting the integration, you will need your Restaurant SiteCode.
Note: Contact the Favourite Table Support Team to obtain the correct SiteCode for your restaurant. Replace all occurrences of <YOUR_SITECODE> in the examples below with the SiteCode provided by the support team.
You can embed the booking page directly inside your website using an HTML iframe.
https://booking.favouritetable.com/?SiteCode=<YOUR_SITECODE>
<iframe
src="https://booking.favouritetable.com/?SiteCode=<YOUR_SITECODE>"
width="100%"
height="700"
frameborder="0"
scrolling="no">
</iframe>Replace <YOUR_SITECODE> with your restaurant's SiteCode.
Note: The iframe height can be adjusted to suit your website layout.
If your website already uses a popup/modal library (Bootstrap Modal, Fancybox, Magnific Popup, etc.), you can open the booking page inside that popup.
https://booking.favouritetable.com/?SiteCode=<YOUR_SITECODE>Simply configure your preferred popup solution to load the above URL.
This option provides a seamless booking experience without navigating users away from your website.
This option embeds the FavouriteTable booking widget directly into your webpage.
<a href='#' onclick="ft_showbookingwidget('ft_bookingwidget<YOUR_SITECODE>');">Make a Reservation</a>
<!-- BookingWidget CODE BEGIN -->
<div id='ft_bookingwidget<YOUR_SITECODE>' sitecode='<YOUR_SITECODE>' ></div>
<!--
If integrating more than one restaurant on the same page,
include the script below ONLY ONCE.
-->
<script type="text/javascript" language="javascript"
src="https://booking.favouritetable.com/widget/ft_bookingwidgetv1.js">
</script>
<!--BookingWidget CODE END -->
Replace every occurrence of <YOUR_SITECODE> with the SiteCode supplied by the FavouriteTable Support Team.