=== FLUF Connect ===
Contributors: yourfluf
Tags: woocommerce, crosslist, multichannel, ebay, etsy
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Crosslist your WooCommerce products to Depop, eBay, Etsy, Vinted, and more. Inventory and orders stay in sync automatically.

== Description ==

**FLUF Connect** links your WooCommerce store to [FLUF.io](https://fluf.io), so the products you already manage in WordPress can be listed on every major resale and consumer marketplace — without manual re-entry, spreadsheet exports, or duplicate inventory.

Supported destinations include:

* Depop
* eBay
* Etsy
* Vinted
* Facebook Marketplace
* Whatnot
* Poshmark
* Vestiaire Collective
* Yaga, Wallapop, Gumtree, Temu, and more

When a product sells on any connected channel, FLUF automatically updates your WooCommerce stock and the listings on every other channel. When an order arrives, it appears in your unified FLUF Connect dashboard alongside your WooCommerce orders.

= How it works =

This plugin is a **thin client**. It does three things:

1. **Authorize** your FLUF.io account via a secure OAuth-style handshake.
2. **Issue** a read/write WooCommerce REST API key, scoped to the FLUF Connect integration, so FLUF can read your products and orders.
3. **Register WooCommerce webhooks** so FLUF reacts to your inventory and order changes in real time.

All listing, sync, image processing, category mapping, and channel-specific logic runs on FLUF's servers. This plugin contains no proprietary business logic — by design.

= What you get =

* One connection — list to every marketplace from one dashboard.
* Inventory parity across channels: a sale on Depop drops your WC stock automatically.
* Unified orders feed inside FLUF Connect, alongside Shopify, eBay, Etsy, and Vinted orders.
* Channel-specific category and condition mapping handled for you.
* No more duplicate listings or oversold items.

= Requirements =

* WordPress 6.0 or later
* WooCommerce 7.0 or later
* PHP 7.4 or later
* An **HTTPS** site (we will not connect over plain HTTP — your WooCommerce REST credentials must travel encrypted)
* A [FLUF.io](https://fluf.io) account (plans start at £19/month — there is no free tier)

= Privacy =

This plugin does **not** "phone home" before you click Connect.

When you click **Connect**, the plugin:

* Sends your site URL to fluf.io as part of the handshake (so FLUF knows which site to talk to).
* Issues a WooCommerce REST API key locally and posts it to fluf.io over HTTPS.
* Registers WooCommerce webhooks pointing at fluf.io.

When you click **Disconnect** (or uninstall the plugin), all of the above are reversed: the API key is deleted from your store, the webhooks are removed, and fluf.io is told to drop your stored credentials.

= Service documentation =

FLUF Connect is a client for the FLUF.io service. By connecting your store, you agree to:

* [FLUF.io Terms of Service](https://fluf.io/terms/) — what you and FLUF agree to.
* [FLUF.io Privacy Policy](https://fluf.io/privacy/) — what data FLUF stores and processes, and your rights.
* [FLUF.io Pricing](https://fluf.io/pricing/) — current plans and what they include.

== Installation ==

1. Install the plugin via **Plugins → Add New → Search "FLUF Connect"** (or upload the .zip).
2. Activate the plugin.
3. Go to **WooCommerce → FLUF Connect** in your WordPress admin.
4. Click **Connect to FLUF** and authorize on fluf.io.
5. You'll be redirected back to your WordPress admin with a confirmation that the connection is live.
6. Open the FLUF Connect dashboard to pick which channels you want to list to.

== Frequently Asked Questions ==

= Does this slow down my WordPress site? =

No. The plugin is dormant unless you're actively interacting with the settings page. All listing and sync work happens on FLUF's servers; the only traffic on your site is occasional WooCommerce REST API reads (the same API your other plugins use).

= What happens if I deactivate the plugin? =

The API key and webhooks stay in place — reactivating the plugin restores everything. To fully revoke FLUF's access, click **Disconnect** before deactivating, or simply uninstall the plugin (uninstalling cleans up everything automatically).

= Can I use this without WooCommerce? =

No. FLUF Connect crosslists WooCommerce products specifically. If you sell from a non-WooCommerce WordPress site, please reach out via [fluf.io/support](https://fluf.io/support/).

= Does it support variable products / variants? =

Yes. Each variation (e.g. size S/M/L of a T-shirt) is treated as its own listable item on destination channels.

= Is there a free plan? =

No. FLUF Connect plans start at £19/month (Growth — 500 products). There is no free tier or trial; pricing details are at [fluf.io/pricing](https://fluf.io/pricing/).

= Is the plugin open-source? =

Yes — it's licensed GPL-2.0-or-later, as required by WordPress.org.

== Changelog ==

= 1.0.0 =
* Initial release: OAuth-style handshake with FLUF.io, WooCommerce REST API key issuance, automatic webhook registration, clean disconnect/uninstall.

== Upgrade Notice ==

= 1.0.0 =
First public release.
