=== Planovin Business ===
Contributors: devitorco, mohammadsadeghi
Tags: elementor, booking, calendar, reservation, planovin
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embed Planovin booking calendars and reservation widgets in Elementor pages.

== Description ==

Planovin Business is the official WordPress plugin for connecting your site to the [Planovin](https://planovin.com/) booking platform.

Add the Planovin widget in Elementor, set your business ID once in the admin settings, and display booking calendars, staff selection, carts, and reservation flows on your pages.

= Features =

* Elementor widget for Planovin booking components
* Simple admin page for your Planovin business ID
* Display modes: calendar or list
* Optional filters: service, staff/resource, category, booking ID
* Cart, language, timezone, and theme options
* Loads Planovin scripts only on pages that use the widget

= Requirements =

* WordPress 5.8 or later
* PHP 7.4 or later
* [Elementor](https://wordpress.org/plugins/elementor/) (free)

= External services =

This plugin connects to the Planovin platform in order to render booking widgets.

* Service: Planovin
* Script URL: `https://plugin.planovin.com/planovin-component-starter.js`
* Website: [https://planovin.com/](https://planovin.com/)
* Privacy policy: [https://planovin.com/privacy-policy/](https://planovin.com/privacy-policy/)

When a page that includes the Planovin widget is viewed, the visitor’s browser loads the Planovin JavaScript module. Booking interactions (such as selecting a time or submitting a reservation) are processed by Planovin according to their terms and privacy policy. The plugin itself only stores your business ID in the WordPress options table.

A Planovin account is required to use the service.

== Installation ==

1. Upload the `planovin-business` folder to `/wp-content/plugins/`, or install the ZIP via **Plugins → Add New → Upload Plugin**.
2. Activate **Planovin Business** through the **Plugins** menu.
3. Make sure **Elementor** is installed and active.
4. Go to **Planovin** in the admin menu and enter your business ID.
5. Edit a page with Elementor, add the **Planovin** widget, configure display options, and publish.

== Frequently Asked Questions ==

= Does this plugin require Elementor? =

Yes. The booking UI is provided as an Elementor widget.

= Do I need a Planovin account? =

Yes. You need an active Planovin account and business ID.

= Does the plugin send data to third parties? =

The plugin stores only your business ID in WordPress. On pages that use the widget, the browser loads Planovin’s official script from `plugin.planovin.com`. Visitor booking activity is handled by Planovin. See the “External services” section above.

= Where do I find my business ID? =

Log in to your Planovin dashboard. Your business ID is shown in account / business settings.

= Can I use this without Elementor? =

Not in this version. Elementor is required.

== Screenshots ==

1. Planovin settings page in the WordPress admin
2. Adding the Planovin widget in Elementor
3. Booking widget preview on the front end

== Changelog ==

= 1.1.0 =
* Prepared plugin for WordPress.org submission
* Aligned version, text domain, and plugin slug (`planovin-business`)
* Load Planovin script only when the Elementor widget is used
* Added uninstall cleanup for stored options
* Improved security checks and internationalization
* Added Elementor dependency notice
* Documented external Planovin service usage

= 1.0.1 =
* Initial release
* Elementor Planovin widget
* Admin settings page for business ID

== Upgrade Notice ==

= 1.1.0 =
Recommended update before WordPress.org distribution. Text domain and script handle names changed; re-check the widget on existing pages after updating.

== License ==

This plugin is licensed under GPLv2 or later.
https://www.gnu.org/licenses/gpl-2.0.html
