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.

Blocks

This plugin provides 1 block.

  • Overfull Booking Displays the Overfull reservation widget.

安裝

  1. Upload the plugin files to the /wp-content/plugins/overfull-booking directory, or install the plugin through the WordPress plugins screen.
  2. Activate the plugin through the “Plugins” screen in WordPress.
  3. Configure the plugin under the plugin’s settings screen (Settings Overfull Booking).
  4. Add the booking widget using the [overfull_widget] shortcode or the Reservation Widget for Overfull block.

常見問題

Do I need an Overfull account?

Yes, you need an active Overfull account to use the reservation widget.

Where can I get help?

Visit https://www.overfull.fr/ for support.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Reservation Widget for Overfull” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Reservation Widget for Overfull 外掛目前已有 3 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Reservation Widget for Overfull 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.2.0

  • Internationalization: English is now the source language; French and Spanish are shipped as translations.

1.1.0

  • Removes developer mode (Widget URL staging / local).

1.0.0

  • Initial release.