=== Restotailor Widget ===
Contributors: restotailor
Tags: booking, appointment, reservation, widget, restaurant
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.1.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embed the Restotailor booking widget on your WordPress website.

== Description ==

This plugin integrates the Restotailor booking widget on your website so customers can book appointments without leaving your site.

= Features =

* Global floating booking button on every page
* Inline shortcode `[restotailor_widget]` with per-page overrides
* Custom button triggers via `data-restotailor-open`, `#rt-action-open`, or `RestotailorWidget.open()`
* Optional auto-open and hide floating button
* WP Consent API registration for compatible cookie banners
* Filters for consent integration

= Support =

Questions? Email support@restotailor.com.

== External services ==

This plugin relies on the external Restotailor service to provide the appointment booking widget.

= What service is used and why? =

The plugin loads an external script from the Restotailor widget service:

https://widget.restotailor.com/

This script is required to display the online appointment booking widget on your website and to connect it with your Restotailor account.

= What data is sent and when? =

When the widget script is loaded, the following information is sent to Restotailor:

* Your Restotailor company ID (configured in the plugin settings).
* Standard technical information sent by the visitor's browser when loading external resources (such as IP address, browser type, operating system, and the URL of the page where the widget is embedded).

When a visitor uses the widget to book, modify, or cancel an appointment, the following additional data may be sent to Restotailor (depending on how your Restotailor account is configured):

* Contact details such as name, email address, and phone number.
* Appointment details such as selected service(s), staff member, date and time.
* Optional notes or service-specific fields configured in your Restotailor account.

All processing of this data is performed by Restotailor and requires an active Restotailor subscription.

= Terms of use and privacy policy =

For more information about how Restotailor processes data, please refer to https://www.restotailor.com

== License ==

Restotailor Widget is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

== Installation ==

1. Upload the plugin zip via **Plugins > Add new > Upload plugin**, or install from the WordPress plugin directory.
2. Activate the plugin.
3. Open **Settings > Restotailor** and enter your company ID from the Restotailor portal.

== Frequently Asked Questions ==

= Where do I find my company ID? =

In your Restotailor portal under Widget settings (Public facing ID).

= How do I open the widget from a custom button? =

Add `data-restotailor-open` to any button or link, link to `#rt-action-open`, or call `RestotailorWidget.open()` in JavaScript.

== Screenshots ==

1. The Restotailor settings screen under Settings > Restotailor.

== Changelog ==

= 1.1.6 =
* Source strings are now written in English instead of Dutch, as required for WordPress.org translation projects; Dutch is now a regular translated locale (nl_NL, nl_BE).

= 1.1.5 =
* No functional changes. Added a settings-screen screenshot for the WordPress.org listing page.

= 1.1.4 =
* No functional changes. Added plugin icon and banner assets for the WordPress.org listing page.

= 1.1.3 =
* Removed the Domain Path header (no bundled language files are shipped anymore).

= 1.1.2 =
* Removed dead links from the external services documentation.

= 1.1.1 =
* Tested up to WordPress 7.1.

= 1.1.0 =
* Simplified settings: company ID only required; SDK and API URLs are configured automatically.
* Settings menu renamed to Restotailor.
* Support contact shown on the settings page.
* Full translations for all Restotailor website languages.

= 1.0.0 =
* Initial release.
