top of page
Service List

Service List

Filter a list of services and view the next available slot.

Intermediate.png

Intermediate

5K

Published:

January 1, 2020

Girl Enjoying her Drink

by

Anchor 1
Hire a Developer

Example Description

In this example, a site visitor chooses a category, which filters a list of classes available for booking. The date of the next available time slot for each class is displayed.

Example Code

Tab 1

.

Tab 2

.

Tab 3

.

This code solution can be complicated.

How We Built It

The Collection We Added: Categories


In addition to the standard Bookings collections, we also created a Categories collection with the following fields:

  • Category: Category names used to divide all services (classes) into three groups: Breathe, Move, and Nourish.

  • services: A multiple-item reference field listing the service names from the Bookings/Services collection associated with the specified category.


Page Elements


At the top of our Classes page, three categories of classes are displayed in a column strip.

 

Under the column strip, another strip contains title text and a repeater. The repeater displays a list of available classes. Users can click a button to view more information about a class, or click a different button to book.


Displaying the Services


When a visitor selects one of the categories at the top of the page, the following happens:

  • The page scrolls to the strip containing the repeater.

  • The title changes to the selected category.

  • The data loaded into the repeater is filtered to include only services associated with the selected category.


When the filtered list of classes loads into the repeater, the Bookings API retrieves the available time slots for each class. The date of the first available slot for each class is displayed.


Next Steps


  1. Open this example in the Editor to work with the template.

  2. Publish the site and refresh your browser so the Bookings collections appear in the Database.

  3. Learn how to work with examples in Velo.

APIs We Used

Non-code example.

Non-code example.

Non-code example.

Related Articles

Hire a Developer

Velo solutions are powerful tools, but building them on your own can be challenging. Let an experienced Velo development shop build it for you, so you can keep working on your site or business.

Related Examples

Did this help?

Yes

|

No

Thanks for your feedback!

Service Page

Service Page

Create a custom service page with related products for sale.

Intermediate.png

Intermediate

Replace Bookings Calendar page

Replace Bookings Calendar page

Replace the default Wix Booking Calendar on your site with a tailored version to better suit your needs.

Intermediate.png

Intermediate

Quick Book and Pending Appointments

Quick Book and Pending Appointments

Let customers quickly book appointments, which are then approved or declined.

Intermediate.png

Intermediate

Limit the number of bookings per contact in a week with ECOM Validations SPI

Limit the number of bookings per contact in a week with ECOM Validations SPI

Limit each site member’s bookings to no more than three per week.

Intermediate.png

Intermediate

Custom Book flow on Booking V2

Custom Book flow on Booking V2

Let Customers Experience your swift and customized appointment booking process with Bookings V2 APIs.

Intermediate.png

Intermediate

Round Robin appointment scheduling

Round Robin appointment scheduling

Allow bookings with no staff selection, creating Round Robin scheduling - evenly spread the bookings among staff members

Intermediate.png

Advanced

Anchor 2
bottom of page