...
This example provides a starting point for integrating GoMeddo's "activity registrationActivity Registration" capabilities into your website using the GoMeddo Javascript SDK.
An activity has a certain capacityCapacity, a staff memberStaff Member and a locationLocation. Your customers can sign up for this activity.
...
Set Up Resources and Resource Types:
Define the hierarchical structure for your resources:
Organization > Country > City > Fitness Centre > Rooms.
Example:
Organization: Your Organization
Country: Netherlands
City: Amsterdam
Fitness Centre: FitZone
Room: Entry Level Room
Note: There can be multiple resources Resources of the type "Room", "City" and "Fitness Center".
Create Reservation Types:
Define a reservation type Reservation Type for each class type (e.g., Pilates, Yoga).
Create a custom image field for each class type and add an image representing the class.
Create Custom Fields Under the Reservation Object:
Add the following custom fields to provide detailed information about each activity:
Staff_Name__c
(Formula Text Field)Room_Name__c
(Formula Text Field)Room_Capacity__c
(Formula Number Field)City_Location__c
(Formula Text Field)Center_Name__c
(Formula ext Text Field)reservation_type_image__c
(Custom Image Field)
Create Staff Members:
Add staff members Staff Members (instructors) who will be associated with the reservations.
Create Reservations:
Create reservations Reservations for the classes you want to display on the frontend.
Ensure each reservation Reservation is linked to the appropriate reservation typesReservation Types, staffStaff, and other custom fieldsCustom Fields.
Note:
Ensure that each resource in GoMeddo is marked as 'isActive' and 'Api Visible' to be displayed and available through the API.
Ensure that resourcesResources, resources typesResource Types, staffStaff and reservation typesReservation Types are set up in GoMeddo. For the booking system to accurately display available gym classes, each class must be created as a reservation within GoMeddo. This step is vital as the SDK relies on these existing reservationsReservations to present customers with real-time availability and booking options.
...
For further information on utilizing the GoMeddo Javascript SDK, visit [GoMeddo JS SDK wiki] and to test the frontend example explore the GitHub repository [GoMeddo Activity Registration and Scheduling].
...