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.

区块

该插件提供了 1 个区块.

  • 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.

评价

此插件暂无评价。

贡献者及开发者

「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.