Wix Restaurants: Table Reservations Page

The Table Reservations page has 3 plugin slots: 1 dashboard, and 2 dashboard menu. Slots are the placeholders in the UI for plugins. The slot ID is the value for the required extends field when configuring the plugin in the App Dashboard.

Location in dashboard

Table Reservations

Dashboard plugin slot

The Table Reservations page features 1 dashboard plugin slot.

Slot 1: Table Reservations page

The Table Reservations page dashboard plugin slot is positioned on the top of the page.

Sample use case

Add a plugin that allows the site owner to display some statistics for the currently selected reservation location.

Configuration

Use the following slot ID for the extends property in your dashboard plugin's configuration in your app's dashboard:

slot ID: 7f71aacd-0cbf-4b73-9ea5-482e073ea237

For example:

Copy

Important: The hosting platform must be "BUSINESS_MANAGER".

Interaction between the dashboard page and your plugin

Apps built by Wix pass parameters via dashboard slots for you to utilize in your plugin's functionality. Learn how to interact with and retrieve parameters from the dashboard page.

This slot passes the following parameters:

NameTypeDescription
currentReservationLocationObjectObject containing information about the reservation location whose reservations are currently being displayed.
reservationsArrayArray of objects containing information about each reservation on the currently selected date. These are also displayed in the table below the widget.
requestsArrayArray of objects containing information about the requested reservations on the currently selected date. These are also displayed in the table below the widget.

Multiple plugins in the same slot

This plugin slot can host multiple plugins.

The plugins are displayed horizontally and ordered by date created, with the most recently created plugin displayed at the right.

Dashboard menu plugin slots

The Table Reservations page features 2 dashboard menu plugin slots.

Slot 2: Table Reservations page's more actions menu

This dashboard menu plugin slot is located in the more actions menu at the top right of the page.

Sample use case

Add a menu item that opens a modal with additional information about the selected reservation location.

Configuration

Use the following slot ID for the extends property in your dashboard menu plugin's configuration in your app's dashboard:

slot ID: 61646cc4-8deb-4e4b-bd30-938d3a29eeee

For example:

Copy

Important: The hosting platform must be "BUSINESS_MANAGER".

Interaction between the dashboard page and your plugin

Apps built by Wix pass parameters via dashboard slots for you to utilize in your plugin's functionality. Learn how to interact with and retrieve parameters from the dashboard page.

This slot passes the following parameters:

NameTypeDescription
reservationLocationIdStringID of the currently selected reservation location.

Multiple plugins in the same slot

This plugin slot can host multiple plugins.

The plugins are displayed vertically and ordered by date created, with the most recently created plugin displayed at the bottom.

Slot 3: Reservation items' more actions menu

This dashboard menu plugin slot is located in the more actions menu of each reservation in the Reservations and Requests tables.

Sample use case

Add an item to the more actions menu of each reservation that links to a dashboard page with additional information about that reservation.

Configuration

Use the following slot ID for the extends property in your dashboard menu plugin's configuration in your app's dashboard:

slot ID: f51f609d-950f-448a-a5e7-f01d31a7978d

For example:

Copy

Important:

  • The hosting platform must be "BUSINESS_MANAGER".
  • Each slot must include an icon to comply with Wix's style requirements. Provide the icon's name as the value for "iconKey".

Interaction between the dashboard page and your plugin

Apps built by Wix pass parameters via dashboard slots for you to utilize in your plugin's functionality. Learn how to interact with and retrieve parameters from the dashboard page.

This slot passes the following parameters:

NameTypeDescription
selectedIdStringID of the reservation for which the more actions menu was opened.

Multiple plugins in the same slot

This plugin slot can host multiple plugins.

The plugins are displayed vertically and ordered by date created, with the most recently created plugin displayed at the bottom.

Wix APIs

You can implement logic in your plugin using the Wix Table Reservations API:

Slot IDs

SlotIDParameters
Table reservations page7f71aacd-0cbf-4b73-9ea5-482e073ea237currentReservationLocation, reservations, requests
Table reservations page More Actions menu61646cc4-8deb-4e4b-bd30-938d3a29eeeereservationLocationId
Reservation item More Actions menuf51f609d-950f-448a-a5e7-f01d31a7978dselectedId

See also

Did this help?