> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eat-now.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Example: Multi-Activity Center

> Complete guide to configuring a leisure center offering multiple types of activities with varied resources.

### Case Overview

This guide walks you through configuring a leisure center **"Active Space"** that offers multiple types of activities.

**Center characteristics:**

* Tennis courts
* Swimming pool with hourly slots
* Fitness classes with a coach
* Equipment rental

**Available resources:**

* 2 tennis courts
* Swimming pool (30 people max per slot)
* 1 fitness coach
* 10 bikes, 5 rackets

**Hours:** 7 days a week, 8am-9pm

***

### Configuration Overview

For this center, we'll create **multiple independent resource groups**:

| Group         | Capacity Type | Capacity | Products                              |
| ------------- | ------------- | -------- | ------------------------------------- |
| Tennis Courts | Total         | 2        | Tennis 1h, Tennis 2h                  |
| Pool          | Total         | 30       | Pool Entry                            |
| Fitness Coach | Total         | 1        | Yoga Class, HIIT Class, Pilates Class |
| Bikes         | Total         | 10       | Bike Rental                           |
| Rackets       | Total         | 5        | Racket Rental                         |

***

### Step 1: Create Products

#### Tennis

1. Create a product "Tennis Court"
2. Variants:
   * 1 hour - \$15
   * 2 hours - \$25

#### Pool

1. Create a product "Pool Entry"
2. Price: \$8 per person
3. No variants needed

#### Fitness Classes

1. Create a product "Group Class"
2. Variants:
   * Yoga (60min) - \$12
   * HIIT (45min) - \$12
   * Pilates (60min) - \$12

#### Equipment Rental

1. Create a product "Bike Rental" - \$15/day
2. Create a product "Racket Rental" - \$5/hour

***

### Step 2: Activate and Configure Portal

1. Go to **Settings** > **Booking Portal** > **Activities**
2. Activate the portal
3. Add all your products
4. Configure schedules for each product:

| Product       | Days    | Hours   | Duration | Interval |
| ------------- | ------- | ------- | -------- | -------- |
| Tennis        | All     | 8am-9pm | 60min    | 60min    |
| Pool          | All     | 8am-8pm | 120min   | 60min    |
| Group Class   | Mon-Sat | 9am-8pm | 60min    | 60min    |
| Bike Rental   | All     | 8am-7pm | 480min   | 60min    |
| Racket Rental | All     | 8am-9pm | 60min    | 60min    |

***

### Step 3: Configure Resource Groups

#### Group 1: Tennis Courts

1. Click **Add Group**
2. Name: "Tennis Courts"
3. Product: **Tennis Court**
4. Mode: **Total Capacity**
5. Capacity: **2**

<Tip>
  2 tennis matches can be played simultaneously, regardless of duration (1h or 2h).
</Tip>

#### Group 2: Pool

1. Click **Add Group**
2. Name: "Pool"
3. Product: **Pool Entry**
4. Mode: **Total Capacity**
5. Capacity: **30**

<Tip>
  Maximum 30 people in the pool per time slot.
</Tip>

#### Group 3: Fitness Coach

1. Click **Add Group**
2. Name: "Fitness Coach"
3. Product: **Group Class**
4. Mode: **Total Capacity**
5. Capacity: **1**

<Tip>
  Only one class at a time since there's only one coach.
</Tip>

#### Group 4: Bikes

1. Click **Add Group**
2. Name: "Bike Fleet"
3. Product: **Bike Rental**
4. Mode: **Total Capacity**
5. Capacity: **10**

#### Group 5: Rackets

1. Click **Add Group**
2. Name: "Racket Stock"
3. Product: **Racket Rental**
4. Mode: **Total Capacity**
5. Capacity: **5**

***

### Step 4: Custom Fields by Activity

#### For Tennis:

* "Skill level": Beginner, Intermediate, Advanced
* "Need rackets?": Yes / No

#### For Pool:

* "Number of people": Number field (required)
* "Children under 12?": Yes / No

#### For Classes:

* "First time?": Yes / No
* "Health issues to report": Free text

#### For Rentals:

* "Desired size (bike)": S, M, L, XL
* "Expected return time": Text

***

### Final Result

**Simultaneous capacities at 10:00am:**

| Activity      | Capacity  | Example                      |
| ------------- | --------- | ---------------------------- |
| Tennis        | 2 matches | Court 1 + Court 2 occupied   |
| Pool          | 30 people | 25 entries sold, 5 remaining |
| Fitness Class | 1 class   | Yoga in progress             |
| Bikes         | 10 units  | 7 rented, 3 available        |
| Rackets       | 5 units   | 2 rented, 3 available        |

**Example busy morning:**

| 10:00am | Activity                     |
| ------- | ---------------------------- |
| Court 1 | 2h Tennis Match (until 12pm) |
| Court 2 | 1h Tennis Match (until 11am) |
| Pool    | 22 swimmers                  |
| Studio  | Yoga Class                   |
| Bikes   | 6 rentals in progress        |

| 11:00am | Activity                       |
| ------- | ------------------------------ |
| Court 1 | Match in progress              |
| Court 2 | **New match available**        |
| Pool    | 18 swimmers (new + departures) |
| Studio  | HIIT Class                     |
| Bikes   | 8 rentals (2 new)              |

***

### Tips for Multi-Activity Centers

<Note>
  **Multi-Activity Cart**

  EatNow allows customers to build a cart with multiple activities. Example: Tennis 1h + Pool Entry + Racket Rental. Capacity calculation is done independently for each group.
</Note>

<Note>
  **Memberships and Packages**

  For members, create special products at \$0 or reduced prices, and assign them to the same resource groups. Capacity will be correctly deducted.
</Note>

<Note>
  **Seasonal Management**

  Adapt your capacities by season:

  * Summer: Increase pool capacity (additional staff)
  * Winter: Reduce if necessary

  Simply modify the capacity of the relevant group.
</Note>

<Note>
  **Cleaning Slots**

  For pool or courts, block slots for maintenance by temporarily reducing the product's opening hours.
</Note>

***

### Advanced Configuration: Classes with Limited Spots

If your classes have a limited number of spots (e.g., 15 people max per class), use **capacity per variant**:

1. Edit the "Fitness Coach" group
2. Switch to **Capacity per Variant**
3. Define:
   * Yoga: **15** (large studio)
   * HIIT: **12** (limited space)
   * Pilates: **10** (limited equipment)

This configuration manages both the single coach constraint AND spot limits per class type.

***

### Groups Summary

| Group         | Actual Resource | Products      | Mode  | Capacity |
| ------------- | --------------- | ------------- | ----- | -------- |
| Tennis Courts | 2 courts        | Tennis        | Total | 2        |
| Pool          | Basin           | Pool Entry    | Total | 30       |
| Fitness Coach | 1 coach         | Group Class   | Total | 1        |
| Bike Fleet    | 10 bikes        | Bike Rental   | Total | 10       |
| Racket Stock  | 5 rackets       | Racket Rental | Total | 5        |

This modular architecture allows you to easily add new activities or adjust capacities as your center evolves.
