=== IntelliVET - Connect Lite ===
Contributors: morsdorfit
Tags: appointment booking, online booking, veterinary, gift vouchers, courses
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embed online appointment booking, course registration and gift voucher sales from IntelliVET in your WordPress site, as a block or shortcode.

== Description ==

**IntelliVET - Connect Lite** brings three parts of the IntelliVET practice software to your own WordPress website:

* **Online appointment booking:** clients book appointments directly with your practice, around the clock
* **Courses:** course overview with registration
* **Gift vouchers:** voucher sales with online payment

The plugin is meant for **veterinary practices, animal physiotherapists, animal osteopaths and animal naturopaths** who use [IntelliVET](https://intellivet.cloud). An IntelliVET account is required.

= How it works =

1. In IntelliVET, open the practice settings, section "Website & Einbettung", and create a connection key
2. Enter this key once in the plugin settings (Settings → IntelliVET)
3. Insert a block (search for "IntelliVET") or use a shortcode, and you are done

While connecting, the address of your website is registered in IntelliVET. Without this step the browser blocks the embedding.

= What the plugin does not do =

It does **not** change anything on your site: no theme, no logo, no site title, no pages. It only provides three blocks and three shortcodes.

It does **not** store any patient, appointment or client data in your WordPress installation. The booking pages are embedded as a protected frame from IntelliVET, so your data stays where it belongs.

= Language =

The user interface of the plugin is **German**, as is IntelliVET itself: the software serves German-speaking practices only. Translations can be contributed through translate.wordpress.org.

= External services =

This plugin connects to **IntelliVET** (`https://app.intellivet.cloud`), a practice management service operated by Morsdorf IT. This is required for the plugin to work.

* **When connecting**, the connection key you entered and the address of your website are sent, so that IntelliVET can allow your site to embed the pages. This happens once, when you click "Verbinden".
* **On the settings page**, the public embed key is sent to ask which parts (booking, courses, vouchers) your practice has booked. This happens each time an administrator opens the settings page.
* **Update check:** at most every twelve hours, `https://hilfe.intellivet.cloud/plugins/intellivet-connect-lite.json` is requested to see whether a new version is available. Nothing is sent besides the request itself.
* **In the frontend**, every embedded block loads a script and a frame from this address. As with any embedded content, the visitor's IP address is transmitted to the server. The embedded pages set **no cookies**.

[Privacy policy](https://intellivet.cloud/datenschutz) · [Terms of service](https://morsdorf-it.de/wp-content/uploads/2024/11/Allgemeine_Geschaeftsbedingungen.pdf) · [Legal notice](https://morsdorf-it.de/impressum/)

= For reviewers =

Blocks are rendered server-side and use the same output as the shortcodes. The editor script is plain JavaScript without JSX; there is no build step and there are no minified or compiled assets in this plugin.

== Installation ==

1. Install and activate the plugin
2. Go to **Settings → IntelliVET** and enter the connection key from IntelliVET
3. Insert a block (search for "IntelliVET") or one of these shortcodes into a page:
   * `[intellivet_terminbuchung]`: appointment booking
   * `[intellivet_kurse]`: courses
   * `[intellivet_gutschein]`: gift vouchers

Optional shortcode attribute: `hoehe="700"` sets the initial height in pixels. After loading, the frame adjusts to its content automatically.

== Frequently Asked Questions ==

= Do I need an IntelliVET account? =

Yes. The plugin embeds the pages of your existing IntelliVET practice.

= The frame stays empty or shows an error message =

Then the address of your website is not allowed in IntelliVET. This is done automatically while connecting. If you changed your domain afterwards, connect again or add it manually in IntelliVET under "Website & Einbettung".

Keep in mind that `https://example.com` and `https://www.example.com` are two different addresses for the browser.

= My cookie banner shows a grey box instead of the booking form =

Some consent tools (Real Cookie Banner, Borlabs and similar) block embedded content from other domains until the visitor consents. Allow `app.intellivet.cloud` there.

For your privacy policy: the embedded pages set **no cookies**. Like any embedded content, they transmit the visitor's IP address to our server.

= Does the height adjust automatically? =

Yes. The frame grows and shrinks with its content, without scroll bars inside the form.

= Does it work without the block editor? =

Yes, the shortcodes work in every theme and in the classic editor.

= What is the difference to "IntelliVET - Connect"? =

"IntelliVET - Connect" runs on websites that we host for practices and also keeps colours, logo and services in sync. Connect Lite is for practices with their own WordPress website and only embeds the forms.

== Screenshots ==

1. Appointment booking embedded on a practice website; the frame adjusts to the height of its content
2. The three blocks in the editor: appointment booking, courses and gift vouchers
3. Settings page after connecting

== Changelog ==

= 1.0.0 =
* First release: appointment booking, courses and gift vouchers as blocks and shortcodes
* The settings page shows which parts are booked in IntelliVET
