=== WirtualnyCzat AI Chatbot ===
Contributors: wirtualnyczat
Tags: ai chatbot, ai assistant, woocommerce, live chat, chat
Requires at least: 5.0
Tested up to: 7.1
Requires PHP: 7.0
Stable tag: 1.2.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

AI assistant and AI chatbot for WordPress and WooCommerce: answers customers 24/7, collects inquiries and books appointments.

== Description ==

WirtualnyCzat AI Chatbot connects your site to Wirtualny Czat, an AI assistant that knows your company's offer and answers customers on your website 24/7 – also after hours and at weekends. When a customer wants to be contacted, the assistant collects their details and immediately sends you an inquiry with a summary of the conversation.

* answers based on your company knowledge (website, price list, PDF documents),
* inquiries by e-mail, push notifications, Slack or Microsoft Teams, with urgent inquiries flagged,
* appointment booking in Google Calendar,
* WooCommerce: the assistant recommends products and customers add them to the cart straight from the chat,
* many languages – the assistant replies in the customer's language,
* accessible chat window (WCAG 2.1 AA).

Works with any theme and page builder: Elementor, Divi, Gutenberg, Astra, OceanWP, Kadence. Compatible with caching and optimization plugins (WP Rocket, LiteSpeed Cache, Autoptimize) and Cloudflare.

The plugin adds the chat to your site. The assistant's knowledge, the chat's look and customer inquiries are managed in the Wirtualny Czat panel. An account is required – you can start with a free trial at https://wirtualnyczat.pl/.

== External services ==

This plugin connects to the Wirtualny Czat service (https://app.wirtualnyczat.pl), which provides the chat window and the AI assistant. It is required for the plugin to work.

* On every page of your site, visitors' browsers load the chat script from https://app.wirtualnyczat.pl/widget.js together with your company ID.
* When a visitor uses the chat, the messages they type, the address, title and a short text excerpt of the page they are on, and – only if they choose to leave their contact details – their name, phone number and e-mail address are sent to the Wirtualny Czat service to generate answers and deliver inquiries to you.
* No data is sent from your WordPress admin or database.

The service is provided by Wirtualny Czat: [Terms of service](https://app.wirtualnyczat.pl/regulamin), [Privacy policy](https://app.wirtualnyczat.pl/polityka-prywatnosci).

== Installation ==

1. Install and activate the plugin (Plugins → Add New → search for "WirtualnyCzat AI Chatbot", or upload the .zip file).
2. Go to Settings → Wirtualny Czat and enter your company ID from the Wirtualny Czat panel (Installation tab). You can also paste the whole embed code.
3. In the panel, in the Sites tab, add the address of your website.

The plugin downloaded from the Wirtualny Czat panel already contains your company ID – just install and activate it.

== Frequently Asked Questions ==

= Do I need an account? =

Yes. The assistant is configured in the Wirtualny Czat panel. You can start with a free trial at https://wirtualnyczat.pl/.

= Will the plugin slow down my site? =

No. The chat script loads asynchronously, after the page content.

= Does it work with WooCommerce? =

Yes. The assistant recommends products from your store, and on stores with simple products customers can add them to the cart directly from the chat.

= How do I hide the chat temporarily? =

Settings → Wirtualny Czat → uncheck "Show the chat to visitors".

== Changelog ==

= 1.2.1 =
* Fixed: on activation the plugin stopped before loading its settings and the chat. It now activates cleanly with WP_DEBUG enabled.

= 1.2.0 =
* New plugin name: WirtualnyCzat AI Chatbot.
* Translations are delivered by translate.wordpress.org.

= 1.1.0 =
* English base texts with a bundled Polish translation.
* Description of the external service.

= 1.0.0 =
* First version.
