This article will show you how to add the Online Booking feature to your own website
Note: If you would like Phorest to integrate the Online Booking system on your website for you, please click here.
Floating Book Now Button:
The Floating Book Now button/widget should be added to every page of your website. Follow and repeat the steps below to do this:
To add the online booking page to your website the following snippet of code has to be put on the index page, right before the end body tag. You will need to replace '
insertsalonidhere' with your salonID/subdomain. You can find your salonID/subdomain at the end of your online booking direct link.
'Script src' code is to be placed before the first body tag after <styling> tab
window.widget = new OBWidget('instersalonidhere')
Here are some step-by-step instructions on where to insert the code using some popular Web Builder CMS:
- Go to Settings
- Then Advanced
- Then Code Injection
- Then Copy & paste your Code into the Header
- Click Manage Website
- Then Tracking and Analytics
- Then New Tool -> Custom
- Then Paste in Code Snippet
- Edit Site
- Then Settings (in navigation)
- Then SEO
- Paste entire code excerpt into Header Code
Integration with WordPress requires downloading a plugin called 'Insert Header and Footer Scripts'
- Select Plugins from the Dash
- Then Add New
- Search for Insert Header and Footer Scripts then Install
- Then click Activate
- Click Settings and then Insert Header and Footer Scripts
- Paste in the code for the Floating Button
Link to Dedicated Online Booking Page
If the Floating Book Now Menu is added to your website, it's not necessary to add a separate 'Book Online' tab/button and link this to a dedicated page.
If you have an existing Book Online/Book Now button on your website that you wish to continue to use, follow the steps below:
Firstly install the Floating Book Now button as outlined above.
Once this is done, use your website URL and add the following link structure:
This will open your booking page as a sidebar on your website.
Use of iFrames
We do not recommend the use of iFrames on websites for a number of reasons but mainly because these pages will be marked as unsecured by Chrome and Safari from July 2018 onwards and your clients will be unable to book online. The other reason is that the use of Floating Book Now buttons for online bookings have been proven to convert better.
If for some reason you wish to use an iFrame on your website on your online bookings, following the steps outlined under 'Link to Dedicated Online Booking Page' will give you the same effect.
The salon ID/URL, from which your Online Booking subdomain is derived, can be found in Online Booking Settings