Socket for Online Lesson Booking
Sam Linge avatar
Written by Sam Linge
Updated over a week ago

Use Socket to list bookable lessons on my website

List available lessons via the website.

List available lessons via the website.

Wherever you wish to list the appointments which are able to be booked, put in the following line:

<div id="book-apts"></div>

Then, below where you have imported Socket, put in the following:

socket('YOUR_API_KEY', {
router_mode: 'history',
element: '#book-apts',
mode: 'appointments'

You need to replace 'YOUR_API_KEY' with your public API key. How do I find that?

You can also see an example of this just here.

How do I create bookable lessons?

The process to create bookable lessons is always the same, whether the lessons are being booked through Socket or booked by a client who is logged in to TutorCruncher. See here how to create bookable lessons.

How does a client book a lesson?

Once you have a list of bookable lessons on your website, a client can click on a specific lesson to book it. If that lesson has available spaces, the client can select 'Book Lesson'.

Clients can book a lesson via your website.

Clients can book a lesson via your website.

Now, the client will be prompted to create a new account or log in to an existing account with your company. They can do this simply and effectively by using Google/Facebook login. They can also use a normal email address, either signing in with an existing account or signing up for a new one.

Once this has been done, the client will be able to add a student to attend the lesson. They can add themselves or create a new student to add to the lesson which is being booked. Once they have selected 'Add to Lesson', they will be booked into the lesson on your TutorCruncher account.

Did this answer your question?