=== Simple Profit – Hotel Booking Toolkit ===
Contributors: simpleprofit
Tags: hotel, booking, reservation, availability, search
Requires at least: 6.3
Tested up to: 7.0
Requires PHP: 8.0
Stable tag: 1.0.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A modular hotel booking toolkit. Adds a configurable availability search widget to any WordPress site.

== Description ==

**Simple Profit – Hotel Booking Toolkit** is a professional, modular plugin for hotel and property booking. It is designed with reliability and extensibility at its core:

* **Modular architecture** — each feature is an isolated module; a fault in one module never crashes the site.
* **Full module control** — enable or disable any module from the Modules admin page. Everything is free and fully functional.
* **Extensible** — action and filter hooks let other plugins extend the toolkit.

= Features =

* **Availability Search Widget** — a clean, responsive HTML search form (shortcode + WordPress widget).
* **RSS Offers Feed** — display a property's current offers and packages via shortcode.
* **Module management** — turn individual modules on or off at any time.
* **Admin Dashboard** — status overview, active modules, error log.

= Optional Premium Add-On =

A separate Premium add-on is available from our website (not hosted on WordPress.org). It is installed as its own plugin and adds extra functionality on top of this free plugin, which remains fully functional on its own:

* Central dashboard to manage modules across many sites
* Advanced booking calendar
* Email notification system
* Priority support

= Shortcode =

`[sbhbt_search]`

Optional attributes:

* `checkin` — pre-fill check-in date (YYYY-MM-DD)
* `checkout` — pre-fill check-out date (YYYY-MM-DD)
* `guests` — default number of guests (integer, min 1)
* `button_text` — search button label
* `destination` — URL the form submits to (overrides the global setting)
* `class` — extra CSS class on the form element

= Requirements =

* WordPress 6.3 or higher
* PHP 8.0 or higher

== Installation ==

1. Upload the `simple-profit-hotel-booking-toolkit` folder to `/wp-content/plugins/`.
2. Activate the plugin in **Plugins → Installed Plugins**.
3. Navigate to **Simple Profit → Settings** to configure the search results URL.
4. Add the shortcode `[sbhbt_search]` to any page, or drag the **Simple Profit Search** widget into a widget area.

== Frequently Asked Questions ==

= Can I add custom fields to the search form? =

Yes — hook into the `sbhbt_search_form_extra_fields` action to inject additional fields.

= Where is my data stored? =

All settings are stored as WordPress options (prefixed `sbhbt_`). No external database tables are created in the free version.

== External Services ==

This plugin connects to the Simple Booking RSS feed service to retrieve a hotel property's current offers and packages for display in the RSS Feed shortcode/widget.

Service: Simple Booking RSS Feed, operated by Simple Booking S.r.l. (simplebooking.it)
Endpoint: https://rss.simplebooking.it/feed/v2/rss

What data is sent:
When a page containing the RSS Feed shortcode or widget is rendered, the plugin sends the configured hotel property GUID, language code, and feed type to the Simple Booking RSS service. This is a server-to-server request; no visitor browser data is involved.

Personal data:
No visitor personal data (name, email address, IP address, browser information, or account information) is collected, transmitted, or processed through this service.

Service provider:
Simple Booking S.r.l. (simplebooking.it) is a third-party hotel booking platform.

This plugin is developed and maintained by Simple Profit. Simple Profit is an authorized distributor and integration partner of Simple Booking in Israel. This plugin is not an official product of Simple Booking S.r.l.
Terms of Service: https://www.simplebooking.it/en/terms-of-service/
Privacy Policy: https://www.simplebooking.it/en/privacy-policy/
 


== Screenshots ==

1. Admin Dashboard — Special offers settings
2. Admin Dashboard — Availability search settings
3. Special offers Widget — front-end
3. Search Widget — front-end availability search form

== Changelog ==

= 1.0.6 =
* Initial release

== Upgrade Notice ==

= 1.0.0 =
Initial release — no upgrade path required.
