This page demonstrates four methods for integrating salonMonster online booking into your website.
If you want a simpler solution you can use our iFrame integration, detailed at the bottom of this page.
This method works well if you can directly edit the code on your website. This method adds the onclick event to the link or button you create.
<script> window.salonMonsterSettings = { bookingLink: 'https://yoursalon.salonmonster.com' } </script> <script src="https://salonmonster.com/js/booking-popup.js"></script> <a href="" onclick="showOnlineBooking(event);">Book Online</a>
Try it:
Book OnlineWorks well if there is a link or html component that you can't edit but which has a css class. This method will use the css class of the element and open the booking popup when it is clicked.
<script> window.salonMonsterSettings = { bookingLink: 'https://yoursalon.salonmonster.com', linkClass: 'salon-booking' } </script> <script src="https://salonmonster.com/js/booking-popup.js"></script> <a href="#" class="salon-booking">Book Appointment</a>
Try it:
Book AppointmentWorks well if there is a link or html component that you can't edit but which has a css ID. This method will use the css ID of the element and open the booking popup when it is clicked.
<script> window.salonMonsterSettings = { bookingLink: 'https://yoursalon.salonmonster.com', linkID: 'main-booking-button' } </script> <script src="https://salonmonster.com/js/booking-popup.js"></script> <a href="#" id="main-booking-button">Schedule Now</a>
Try it:
Schedule NowIf you prefer a simpler solution, you can embed the booking page directly into your website using an iframe. This method requires no JavaScript configuration.
<iframe src="https://yoursalon.salonmonster.com/client/index.php?layout=2" width="100%" min-width="630px" style="min-height: 600px;" scrolling="auto" frameborder="0"> </iframe>
Try it: