Chat2Book Button

Опис

Chat2Book Contact Button lets visitors contact you on WhatsApp with prefilled details (dates, guests, participants) instead of filling long forms. Ideal for small hospitality and activities where messaging is faster than email.

Features
– Shortcode with two modes:
bnb: check-in, check-out, guests
excursion: date, participants
– Customizable message templates with placeholders
– Multiple instances on the same page (unique IDs)
– Client-side validation (dates and required fields)
– No tracking, no data stored on the server
– Translation-ready (IT/EN included)

What it doesn’t do
This is not a full booking engine: no payments, no availability calendars. It simply opens WhatsApp with a ready-to-send message.

Privacy
The plugin doesn’t store or transmit personal data to your server. The message is composed client-side and opened via wa.me.

Trademark notice
WhatsApp is a trademark of Meta Platforms, Inc. This plugin is not affiliated with, sponsored or approved by Meta or WhatsApp.

Usage

Shortcodes
[c2book-button mode=”bnb”]
[c2book-button mode=”excursion”]
[c2book-button number=”393123456789″ mode=”bnb”]

Attributes
mode (required): bnb or excursion
number (optional): overrides the default number (use international format without “+”, e.g. 393...)

Placeholders in templates
B&B: {checkin}, {checkout}, {ospiti}, {data}, {persone}, {titolo}
Excursions: {date}, {participants}, {titolo}

Встановлення

  1. Upload the chat2book-button folder to /wp-content/plugins/, or upload the ZIP via Plugins Add New.
  2. Activate Chat2Book Button in Plugins Installed.
  3. Go to Settings Chat2Book and set your default number and message templates.
  4. Insert the shortcode in a page or post.

Часті питання

Is this official WhatsApp software?

No. It’s not affiliated with or approved by WhatsApp/Meta.

Do I need WhatsApp Business?

No. It works with both WhatsApp and WhatsApp Business.

Gutenberg/Elementor support?

Yes. Use the shortcode block or a shortcode widget.

Multiple forms on the same page?

Yes. Each instance is isolated and uses unique IDs.

Number format?

International format without the +. The plugin sanitizes it to digits.

GDPR concerns?

The plugin itself does not collect/store personal data. The chat opens in WhatsApp; the user sends the message there.

Desktop vs mobile?

On desktop it opens WhatsApp Desktop or WhatsApp Web (if available). On mobile it opens the app.

Відгуки

Для цього плагіна немає відгуків.

Учасники та розробники

“Chat2Book Button” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

Перекладіть “Chat2Book Button” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

1.0.3 – 2025-09-29

  • Fix: lo shortcode ora accetta anche virgolette tipografiche per l’attributo mode e mappa sinonimi (es. “escursione”, “tour”) excursion.
  • Admin: aggiunta sezione “Come si usa” nella pagina impostazioni con esempi di shortcode.
  • UX: aggiornati i titoli dei form (“Prenota una escursione”, “Verifica la disponibilità”).

1.0.2 – 2025-09-28

  • Prima pubblicazione su WordPress.org.
  • Shortcode per due modalità: B&B (check-in/out, ospiti) ed Escursioni (data, partecipanti).
  • Template messaggi personalizzabili; validazioni lato client; i18n; nessun dato salvato lato server.

1.0.0

  • Initial public release: shortcodes for bnb/excursion, message templates, basic validation, multiple instances, i18n.