Reservation Widget for Overfull
Reservation Widget for Overfull lets restaurants embed the Overfull reservation widget directly on their WordPress site. Add it anywhere with a shortcode or the dedicated Gutenberg block, or display it as a floating button.
Features:
- Shortcode to embed the booking widget.
- Gutenberg block for the block editor.
- Floating button mode with configurable auto-open delay.
- Fully translatable (French and English included).
External services
This plugin connects to the Overfull service (https://www.overfull.fr/), operated by Overfull, to display and configure the restaurant reservation widget. Using the plugin requires an Overfull account.
The plugin communicates with the Overfull API in the following cases:
- Reservation widget: the widget is loaded in an iframe from Overfull using the restaurant identifier you configure. When a visitor interacts with it, their reservation data (such as the details they enter to book a table) is sent to Overfull to create the reservation.
- Floating button appearance: when a page loads with the floating button enabled, the plugin makes a server-side request to Overfull, sending only the restaurant identifier, to retrieve the button's theme color and text color (endpoint
/apiv2/widget/get-theme-color). - Floating button label: to translate the button label into the site language, the plugin makes a server-side request to Overfull sending the label text and the target language (endpoint
/apiv2/widget/translate-fab-label).
No personal visitor data is sent by the plugin itself for the appearance/label requests (only the restaurant identifier, the label text and the language). Reservation data is handled by the Overfull widget itself.
This service is provided by Overfull. Terms of use and privacy policy: https://www.overfull.fr/mentions-legales/
Source code
The floating button loads a small JavaScript embed. Its human-readable (non-minified) source is included in the plugin at assets/js/overfull-embed.js, alongside the minified assets/js/overfull-embed.min.js used in production. No build step is required to read or modify the source; the minified file is produced from it with Terser.
