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.
Table Reservations
The Table Reservations page features 1 dashboard plugin slot.
The Table Reservations page dashboard plugin slot is positioned on the top of the page.
Add a plugin that allows the site owner to display some statistics for the currently selected reservation location.
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:
Important: The hosting platform must be "BUSINESS_MANAGER".
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:
Name | Type | Description |
---|---|---|
currentReservationLocation | Object | Object containing information about the reservation location whose reservations are currently being displayed. |
reservations | Array | Array of objects containing information about each reservation on the currently selected date. These are also displayed in the table below the widget. |
requests | Array | Array of objects containing information about the requested reservations on the currently selected date. These are also displayed in the table below the widget. |
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.
The Table Reservations page features 2 dashboard menu plugin slots.
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.
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:
Important: The hosting platform must be "BUSINESS_MANAGER".
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:
Name | Type | Description |
---|---|---|
reservationLocationId | String | ID of the currently selected reservation location. |
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.
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.
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:
Important:
"iconKey"
.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:
Name | Type | Description |
---|---|---|
selectedId | String | ID of the reservation for which the more actions menu was opened. |
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.
You can implement logic in your plugin using the Wix Table Reservations API:
Slot | ID | Parameters |
---|---|---|
Table reservations page | 7f71aacd-0cbf-4b73-9ea5-482e073ea237 | currentReservationLocation , reservations , requests |
Table reservations page More Actions menu | 61646cc4-8deb-4e4b-bd30-938d3a29eeee | reservationLocationId |
Reservation item More Actions menu | f51f609d-950f-448a-a5e7-f01d31a7978d | selectedId |