=== Fuentia ===
Contributors: fuentia
Tags: woocommerce, chat, assistant, ai, search
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

The Fuentia assistant in your shop: a chat on every page and your WooCommerce catalog kept in sync.

== Description ==

* Paste your publishable key and the Fuentia chat shows up on every page. On a product page, the assistant answers about that product.
* With WooCommerce and a secret key, the plugin syncs your catalog with a Fuentia catalog notebook: a full upload in batches of 500, then every product you save, whose stock changes or that you delete.
* The secret key is stored only on your server and is never sent to the browser.
* Your policy pages (shipping, returns, terms, privacy) can be sent to Fuentia as documents, so the assistant answers them and cites them. They are sent again whenever you edit one.
* Optional order status in the chat: the customer types the order number and the billing email, and your shop answers with the status. Order data is never sent to Fuentia.

The settings screen is in Spanish and ready for translation.

= External service =

This plugin connects to Fuentia (https://fuentia.app, or the URL you set) to show the chat and to send the published products of your shop: name, description, brand, category, price, stock, link, images and attributes, and the text of the policy pages you choose. The chat runs in your visitors' browsers and talks to Fuentia directly. The order-status lookup, when you turn it on, is answered by your own shop and sends nothing to Fuentia.

* Service: https://fuentia.app
* Privacy: https://fuentia.app/en/privacy.html

== Installation ==

1. Upload the zip in Plugins > Add New > Upload Plugin and activate it.
2. In WooCommerce > Fuentia (Settings > Fuentia without WooCommerce), paste the publishable key and the id of the catalog notebook.
3. In Fuentia, add your shop's domain to the allowed origins of the publishable key.
4. To sync the catalog, paste a secret key, save, click «Probar conexión» (test connection) and then «Sincronizar ahora» (sync now).

== Frequently Asked Questions ==

= Does it work without WooCommerce? =

Yes: it adds the chat to every page. Catalog sync needs WooCommerce.

= Can I try the catalog for free? =

Yes. The Free plan includes a secret key and a catalog of up to 50 products. Paid plans hold more products.

== Screenshots ==

1. The assistant recommends products from your WooCommerce catalog, with photo, price and stock, and links to each product.
2. Shipping, returns and other policies are answered from your own pages, with the source cited.
3. On a product page the assistant answers about that product, using your size guide.

== Changelog ==

= 1.1.0 =
* Policy pages sent to Fuentia as documents, again on every edit.
* Optional order status in the chat, answered by the shop.

= 1.0.0 =
* First version: widget, settings and catalog sync.
