What This Screen Does
This is where you update the details of an existing class. Think of it like editing an event on a calendar — you can change the title, time, instructor, capacity, and various settings that control how members book and cancel. When you save, the system updates the class and all future bookings reflect the new information.
How to Get There
Open the dashboard.
In the left-hand menu, click Classes.
Find the class you want to edit in the list.
Click on the class to open it, then click the Edit button (or navigate directly to its edit URL).
You are now on the Edit Class screen.
Step-by-Step Guide
1. Class Information
This section covers the basic details that members see when browsing and booking classes.
Field | Required | What to Enter |
Class Title | Yes | The name members will see when browsing classes (e.g. “Endurance WOD”). |
Class Type | Yes | Pick the category this class belongs to from the dropdown (e.g. Spinning, Yoga, CrossFit). These are your pre-defined class descriptions. |
Gym | Yes | Select which gym or facility this class will be held at. |
Location | No | A more specific spot within the gym (e.g. “Studio A” or “Main Floor”). Choose “None selected” if not applicable. |
Maximum number of participants | No | The maximum number of members who can book a spot. Leave blank for unlimited. |
Automatic Cancellation Fields
These fields only appear when the Enable automatic class cancellation toggle is turned on (see Class Settings below).
Field | Required | What to Enter |
Minimum number of participants per class | Yes (when auto-cancel is on) | The minimum number of registrations needed for the class to run. If registrations fall below this number, the class may be automatically cancelled. |
Time before automatic cancellation check | No | How far before the class start time the system should check whether the minimum has been met. Set using a time picker (hours and minutes). |
2. Class Settings
These toggles control special behaviours for this class. Each one is a simple on/off switch.
Toggle | Default | What It Does |
Enable automatic class cancellation | Inherited from chain settings | Automatically cancel the class if it does not meet the minimum number of registrations. When turned on, extra fields appear in the Class Information section above. |
Is open gym | Off | Marks this time slot as open gym — members can use the facility freely without a structured workout. |
Is a closed class | Off | Makes the class invite-only. It will not appear in public booking; only invited members can attend. |
Is personal training | Off | Marks this as a one-on-one personal training session rather than a group class. |
Enable fines | Off | Charges members a fine if they miss this class without cancelling before the deadline. |
Allow guest bookings | Off | Lets non-members or guests book and attend this class. |
Release training program | Off | Automatically publishes the workout details to members before the class starts. When turned on, a timing field appears in the Schedule & Timing section below. |
Override cancellation deadline | On (if class already has opt-out times set) | Lets you set a custom cancellation deadline for this specific class, overriding the global default. When turned on, two extra timing fields appear in the Schedule & Timing section. When turned off, the class uses the global cancellation policy and any custom opt-out times are cleared. |
Guest Welcome Email
Field | Required | What to Enter |
Guest welcome email | No | If guest bookings are allowed, pick an email template that guests will receive when they book. Only templates of the “Guest” type are shown. If no templates exist, the dropdown will show “No email templates found”. |
3. Schedule & Timing
Set when the class takes place and configure timing-related options.
Field | Required | What to Enter |
Class begins | Yes | The exact date and time when the class starts. Use the date-time picker (24-hour format). |
Class ends | No | The exact date and time when the class ends. Must be later than the start time. |
Shift duration | No | How long the instructor’s shift lasts, including any setup or cleanup time. Enter hours and minutes separately. |
Conditional Timing Fields
These fields appear based on which toggles you turned on in the Class Settings section:
Field | Appears When | What to Enter |
Time before program release | “Release training program” is on | How many hours and minutes before the class starts the workout program should be published to members. |
Interval where opt out is considered too late | “Override cancellation deadline” is on | The latest time before class starts that a member can cancel without receiving a penalty or fine. Enter hours and minutes. |
When is it no longer possible to opt out before class starts | “Override cancellation deadline” is on | The absolute cutoff time — after this point, members cannot cancel at all. Enter hours and minutes. |
4. Instructor Assignment
Choose who will teach this class.
Field | Required | What to Enter |
Coaches | No | Select one or more instructors from the dropdown. Each instructor appears with a checkbox. You can assign multiple instructors to co-lead the class. Only active staff members are shown. |
5. Save Changes
Click the Save Changes button at the bottom-right of the form.
The system will:
Validate all your inputs (checks required fields, date logic, and number formats).
Send the updated class data to the server.
Show a green “Update success!” notification.
Navigate you back to the previous page.
If something goes wrong, a red error message will appear at the top of the form explaining the issue.
What Happens Behind the Scenes
You click "Save Changes"
|
v
Form validates all fields (Yup schema)
|
v
Validation fails? → Red error messages appear below the invalid fields, form does not submit
|
v
Validation passes
|
v
API call: ClassesService.edit({ id: classId, body: formData })
|
v
Server updates the class record and returns success
|
v
Success notification: "Update success!" appears at the bottom of the screen
|
v
You are navigated back to the previous page
|
v
(If the API returns an error)
A red alert banner appears at the top of the form with the error detail
Troubleshooting
“I filled everything in but the Save Changes button does not work”
Make sure all required fields are filled in. The form will not submit if anything is missing.
Look for small red error messages below the fields — they tell you exactly what needs fixing.
Check that Class ends is later than Class begins. The system will reject an end time that is before or equal to the start time.
If you have Enable automatic class cancellation turned on, the Minimum number of participants per class field becomes required and must be greater than zero.
“The class type dropdown is empty”
Class types (descriptions) are loaded when the page opens. If the list is empty, try refreshing the page.
You need at least one class description set up in the system. Go to Class Descriptions in the menu and create one first.
If class descriptions exist but still do not appear, check your internet connection or contact your administrator.
“I do not see any gyms to select”
You must have at least one gym set up in the system before editing a class.
If the dropdown is empty, check your gym configuration under the Gym settings.
Try refreshing the page — the gym list is loaded when the form first opens.
“I do not see any instructors in the coaches dropdown”
The coaches list shows only active staff members. If an instructor was recently deactivated, they will not appear.
If the list is completely empty, make sure you have employees set up in the Employees section.
Try refreshing the page — the instructor list is loaded when the form opens.
“I turned on ‘Override cancellation deadline’ but I do not see the timing fields”
The opt-out timing fields appear in the Schedule & Timing section, not in the Class Settings section. Scroll down to find them.
If they still do not appear, try toggling the switch off and on again.
“I get an error after clicking Save Changes”
A red error banner will appear at the top of the form. Read the message carefully — it usually explains what went wrong.
Common causes: the class time conflicts with another class, a server timeout, or the class was deleted by another user while you were editing.
If the error is unclear, try saving again. If it persists, contact support with the exact error message.
“The ‘Minimum number of participants’ field shows a validation error”
This field is required when Enable automatic class cancellation is turned on.
The value must be a number greater than zero.
If you do not want automatic cancellation, turn off the toggle and the field will disappear.
“My changes were not saved even though I saw a success message”
This is rare but can happen if your internet connection dropped right after the request was sent.
Go back to the class and verify the details. If the old values are still showing, try editing and saving again.
Make sure you are not looking at a cached version of the page — refresh to see the latest data.
“The form is blank or fields are not pre-filled with the current class data”
The form loads the existing class data when the page opens. If it appears blank, the class data may still be loading — wait a moment.
If the fields remain empty, the class ID in the URL may be incorrect or the class may have been deleted.
Try navigating back to the class list and clicking edit again.
“I cannot find the guest welcome email option”
The Guest welcome email dropdown is at the bottom of the Class Settings section.
It only shows email templates of the “Guest” type. If none exist, you will see “No email templates found”.
To create a guest email template, go to your email template settings and add one with the Guest type.
