myTable.pro Booking

Description

myTable.pro Booking puts your restaurant’s myTable.pro booking form on your website, so guests can book a table without leaving your pages.

Paste your restaurant key, and you are done.

Three ways to show the form — all chosen in myTable.pro:

  • A floating button in a corner of every page.
  • Your own buttons: any button or menu item linking to #mytable opens the form.
  • Only inside pages: the form sits where you place the “myTable booking” block or the [mytable] shortcode.

Everything is set in myTable.pro. How the form appears, its colours, texts, services, opening hours and booking rules, the pages where it should not show, and whether it opens on its own: you change all of it in myTable.pro, and your site shows the change on the next page load. WordPress only keeps your restaurant key, so there is nothing to update here.

Your guests’ language. The form follows the language of your page. Nothing to configure. The plugin’s own screens are in English, French and German.

This plugin needs a myTable.pro account.

External services

This plugin connects your site to myTable.pro, the restaurant booking service that runs your booking form. It does nothing without a myTable.pro restaurant key.

The booking widget (on your visitors’ browsers). When a restaurant key is set, every front-end page loads the myTable.pro booking widget script from widget.mytable.pro. The widget then loads your restaurant’s settings, free times and texts from api.mytable.pro.

  • Sent on every page load: the page address, the browser data any browser sends to load a script (such as IP address, user agent and language), and your restaurant key.
  • Sent when a guest books: what the guest types into the form (name, contact details, party size, date and time, and any note).
  • If the restaurant switched on website statistics in myTable.pro: anonymous page visits, counted without cookies. Only after the visitor agrees to statistics (through a cookie banner that uses the WP Consent API) does the widget keep a random id in the browser’s local storage. The widget sets no cookies.

The key check (from your server). The settings page asks api.mytable.pro whether your restaurant key is known, and how the form is set to show. Only the key is sent.

The service is provided by myTable.pro: Terms of use, Privacy policy.

Screenshots

Blocks

This plugin provides 1 block.

  • myTable booking Your restaurant's booking form, right here in the page.

Installation

  1. Install and activate the plugin from Plugins › Add New, or upload the mytable-pro-booking folder to /wp-content/plugins/.
  2. In myTable.pro, open Widget › Get bookings online › WordPress and copy your restaurant key.
  3. In WordPress, open Settings › myTable.pro, paste the key and click Save Changes.
  4. That’s it. The page tells you which restaurant it is connected to and how the form shows on your site.

FAQ

Where do I find my key?

In myTable.pro under Widget › Get bookings online › WordPress. You can paste the key on its own or the whole code snippet; the plugin picks out the key.

How do I change the look?

In myTable.pro. Colours, texts, the button’s corner and how the form shows are all set there, and your site shows the change on the next page load.

Can I use my own button?

Yes. Set the link of any button or menu item to #mytable. You can also add the data-mytable-open attribute to any element, or call myTable.open() from your own JavaScript.

Does it work with page builders?

Yes. Use the [mytable] shortcode in any shortcode or text element, or link a builder button to #mytable. The floating button needs nothing at all.

What about cookie banners?

The widget sets no cookies. If your cookie banner supports the WP Consent API (for example Complianz or CookieYes, together with the WP Consent API plugin), the plugin passes the visitor’s statistics choice to the widget automatically.

Why can’t I change anything here?

On purpose: everything about the form is set once in myTable.pro, so your website, your Google profile and your other booking links all show the same form. WordPress only keeps your restaurant key.

The booking button does not show

Open Settings › myTable.pro: it should say Connected to your restaurant. If you use a caching plugin, clear its cache once after saving the key. In myTable.pro, check how the form is set to appear: with “Only your own buttons” or “Only inside pages” there is no floating button on purpose, and pages you excluded show none.

Which language does the form use?

The language of the page, as WordPress, WPML or Polylang set it. Guests can switch the language in the form.

Does it slow my site down?

No. The plugin adds one small script, loaded with defer, so your page shows first. It adds no database tables and contacts myTable.pro from WordPress only on its settings page.

What happens when I remove the plugin?

Deactivate it and the form disappears from your site. Delete also removes the saved key. Your bookings and settings stay in myTable.pro.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“myTable.pro Booking” is open source software. The following people have contributed to this plugin.

Contributors

Translate “myTable.pro Booking” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.0

  • First release: the booking widget on every page, the “myTable booking” block, the [mytable] shortcode, and the WP Consent API bridge.