The Table Reservations page has 3 plugin slots: 1 dashboard, and 2 dashboard menu.
Learn more about dashboard plugins and slots.
Table Reservations
This dashboard plugin slot is positioned at the top of the page.
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.
This dashboard menu plugin slot is located in the more actions menu at the top right of the page.
This menu 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.
This menu 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 name | Slot type | ID | Interface |
---|---|---|---|
Reservations banner | Dashboard plugin slot | 7f71aacd-0cbf-4b73-9ea5-482e073ea237 | ReservationsBannerParams |
Reservations main more actions menu | Dashboard menu plugin slot | 61646cc4-8deb-4e4b-bd30-938d3a29eeee | ReservationsMainMoreActionsMenuParams |
Reservation item more actions menu | Dashboard menu plugin slot | f51f609d-950f-448a-a5e7-f01d31a7978d | ReservationItemMoreActionsMenuParams |
You can implement logic in your plugin using the Wix Table Reservations API:
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.
ID of the reservation for which the "more actions" menu was opened.
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.
Object containing information about the reservation location whose reservations are currently being displayed.
Array of objects containing information about the requested reservations on the currently selected date. These are also displayed in the table below the widget.
Array of objects containing information about each reservation on the currently selected date. These are also displayed in the table below the widget.
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.
ID of the currently selected reservation location.
Use this in the code for the page or modal opened by the dashboard menu plugin.
import React, { type FC } from 'react';
import { WixDesignSystemProvider, Button } from '@wix/design-system';
import '@wix/design-system/styles.global.css';
import { plugins } from "@wix/table-reservations/dashboard";
type ReservationsMainMoreActionsMenuParams = plugins.WixTableReservations.ReservationsMainMoreActionsMenuParams;
const Modal: FC<ReservationsMainMoreActionsMenuParams> = (props: ReservationsMainMoreActionsMenuParams) => {
return (
<WixDesignSystemProvider features={{ newColorsBranding: true }}>
<Button onClick={() => ({
console.log(
`Reservation Location Id: ${componentParams.reservationLocationId}`
);
})}
>
Click me!
</Button>
</WixDesignSystemProvider>
);
};
export default Modal;