Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This example provides a starting point for integrating GoMeddo's "activity registration" capabilities into your website using the GoMeddo Javascript SDK.

An activity has a certain capacity, a staff member and a location. Your customers can sign up for this activity.

...

  1. 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 of the type "Room", "City" and "Fitness Center".

  2. Create Reservation Types:

    • Define a 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.

  3. 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)

  4. Create Staff Members:

    • Add staff members (instructors) who will be associated with the reservations.

  5. Create Reservations:

    • Create reservations for the classes you want to display on the frontend.

    • Ensure each reservation is linked to the appropriate reservation types, staff, and other custom fields.

...