=== Clijet – Live Chat, Upsell & Loyalty for WooCommerce ===
Contributors: bspychala
Tags: live chat, woocommerce, ai chatbot, upsell, loyalty
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.8
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Live chat, AI support agent, product upsells and loyalty rewards for WooCommerce, in one shared inbox.

== Description ==

**Live chat and AI support in one inbox.** Clijet connects your WordPress and WooCommerce store to [Clijet](https://clijet.com), a hosted live chat and AI-native support workspace, so every shopper conversation, order and cart lives in one place.

= Live chat and AI support in one inbox =

* Talk to shoppers in real time and let the AI agent answer instantly when you are away
* One shared inbox for live chat, AI replies and email, with team assignments
* The AI agent answers from your real orders, products and help articles and cites its sources
* You set the hand-off rules, so the AI passes the conversation to a human exactly when you want

= Sell more from the conversation =

* Recommend the right product in the chat and let shoppers add it to the cart without leaving the conversation
* Proactive AI opens the chat on add to cart, for returning visitors or on an abandoned form
* Gutenberg and WooCommerce blocks for frequently bought together, add-ons, collections and cart upsell
* Place those widgets by page URL plus CSS id or class, or by exact on-page text (before or after)

= Know your customer =

* When WooCommerce is active, products, orders, customers and the live cart sync to your Clijet workspace, so agents see order history and what is in the cart right now
* Help center articles published once for customers in every language

= Free to start =

There is a free plan, so you can try it before you grow. See https://clijet.com for current plans.

This plugin is a **service plugin**. A Clijet account is required. Terms: https://clijet.com/terms and privacy policy: https://clijet.com/privacy

== Installation ==

1. Install the plugin from WordPress.org or upload the `clijet-live-chat` folder to `/wp-content/plugins/`.
2. Activate the plugin.
3. Open **Clijet** in the WordPress admin menu.
4. Sign in or create a Clijet account, then finish onboarding. The site connects in the background.
5. Optionally add Clijet blocks in the block editor, or set a page URL / CSS selector / exact text in a Clijet upsell campaign.

== Frequently Asked Questions ==

= Do I need a Clijet account? =

Yes. The plugin is an interface to the Clijet service.

= Does this work without WooCommerce? =

Yes. Live chat still works. Product/order sync and cart upsell require WooCommerce.

= Where is my store data sent? =

Connected sites send catalog snapshots, live cart contents, and chat messages to Clijet so agents can see them in the inbox.

= Does Clijet have a free plan? =

Yes. You can start free and upgrade when you grow. See https://clijet.com for current plans.

= Can the AI agent hand over to a human? =

Yes. You set the hand-off rules, and your team continues the conversation from the shared inbox.

= Where do loyalty rewards appear? =

Inside the chat widget, once the loyalty program is enabled in your Clijet workspace. Shoppers redeem points for WooCommerce coupons.

== Screenshots ==

1. Live chat and AI support in one shared inbox, with hand-off to your team.
2. An AI agent that answers from your real orders, products and help articles, with sources.
3. Proactive AI that starts the conversation on add to cart, returning visitors or an abandoned form.
4. Product recommendations inside the chat that shoppers can add to the cart.

== External services ==

This plugin connects your site to the Clijet service (https://clijet.com). Terms: https://clijet.com/terms. Privacy policy: https://clijet.com/privacy.

Remote files: the chat widget script is loaded from your Clijet API host (default `https://api.clijet.com`) after you connect a workspace. The WordPress admin Clijet screen links to the Clijet dashboard (default `https://app.clijet.com`), which opens in a new tab so you can sign in, create an account, and finish onboarding. Nothing is sent to Clijet until you click Connect. Admin screens, blocks, and storefront injectors ship locally in this plugin.

== Changelog ==

= 1.0.8 =
* Widgets take the full width of their container, so themes that lay the product summary out as a flex column no longer clip the bottom of grid and carousel widgets.

= 1.0.7 =
* Fixed overlapping cards in the add-on grid on themes that do not use border-box sizing.

= 1.0.6 =
* Add-on grid uses the number of columns from the campaign editor.
* Add-on carousel uses the number of slides from the campaign editor and shows navigation arrows.

= 1.0.5 =
* Add-on widgets now render as a list, grid or scrollable carousel like in Shopify, with the campaign styles.
* Widgets show prices the way the shop displays them (with or without tax).
* Storefront texts can be translated.

= 1.0.4 =
* Frequently bought together follows the variation selected on variable products (price, total, stock) and asks to choose options before adding.
* Offers use the first in-stock variation of a variable product.

= 1.0.3 =
* Widget section padding from the campaign editor is now respected.
* Positioning a widget by element text no longer anchors inside another Clijet widget.
* Cart upsell and product widgets now also appear on the block-based WooCommerce cart and product templates.

= 1.0.2 =
* WooCommerce products, orders and customers now sync automatically, also when WooCommerce is installed after connecting to Clijet.
* Product stock status is synced.

= 1.0.1 =
* Connecting to Clijet now finishes even if you close or reload the wp-admin tab while setting up.

= 1.0.0 =
* Initial public release.
* Loyalty program support: order and refund events, loyalty reward coupons and customer sign-in for the rewards widget.
