=== Cobiro for WooCommerce ===
Contributors: cobiro
Tags: woocommerce, product feed, google shopping, ai, product sync
Requires at least: 6.5
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

Connect your WooCommerce store to Cobiro in one click — provisions your account, sets up your product feed, and opens your dashboard.

== Description ==

Cobiro for WooCommerce links your WooCommerce store to Cobiro with a single click:

* One click in your WordPress admin provisions your Cobiro account (user, team, workspace, and store) — nothing to fill in.
* A read-only WooCommerce REST API key is generated for you automatically. You never copy or paste keys.
* Your products start syncing to Cobiro immediately.
* Cobiro's AI enriches your titles, descriptions and attributes for each channel: Google Shopping, Meta, Microsoft and TikTok. AI enrichment is charged separately by Cobiro.
* "Open Cobiro Dashboard" logs you straight into Cobiro from wp-admin.

= How the connection is secured =

The plugin never carries a shared secret. When you click Connect, it creates a read-only API key on your own store and sends it to Cobiro. Cobiro then calls your store back with that key to confirm you are the store owner before it sets anything up. Only a store administrator can start this flow.

== Installation ==

1. Upload the plugin to `wp-content/plugins/cobiro-for-woocommerce` (or install the ZIP from Plugins → Add New).
2. Activate it. WooCommerce must be installed and active.
3. Go to the "Cobiro" menu in wp-admin and click "Connect to Cobiro".

Your store must be served over HTTPS.

== External services ==

This plugin connects your store to Cobiro (https://cobiro.com), a product feed and
marketing service, so that your catalogue can be distributed to shopping channels.

When you click "Connect to Cobiro" the plugin sends your store URL, the email address
and name of the WordPress account you are logged in with, your store name and
country/currency, plus a read-only WooCommerce REST API key it generates for you, to
https://api.cobiro.com. Cobiro then calls your store
back with that key to confirm you are the owner before creating your account.

After connecting, Cobiro reads your published products from your store's own REST API
on a schedule. No customer or order data is ever read or sent, and nothing is written
back to your store.

By connecting your store you agree to Cobiro's [terms of service](https://cobiro.com/terms-of-service) and [privacy policy](https://cobiro.com/privacy-policy).

== Frequently Asked Questions ==

= Does this give Cobiro write access to my store? =

No. The API key it generates is read-only — Cobiro only reads your catalogue.

= How do I disconnect? =

Open the Cobiro screen and click Disconnect. That removes the connection on Cobiro's side and revokes the read-only API key on your store.

== Screenshots ==

1. AI image generation in Cobiro — create product imagery for your synced WooCommerce catalogue.
2. AI text enrichment in Cobiro — improve titles, descriptions and attributes for every channel.

== Changelog ==

= 1.0.1 =
* Distribution channels now show the real state reported by Cobiro — live, draft, or available — with per-channel product counts.
* "Manage in Cobiro" signs you in and opens your store's channels page directly.
* The Cobiro account is now created for the user who clicks Connect, falling back to the site admin email.
* Fixed the "Has SKU" data-quality count including trashed variable products.
* The dashboard SSO link is validated as an https URL before redirecting.
* Added terms of service and privacy policy links to the connect screen.
* Compliance polish for the WordPress.org directory review (Plugin Check clean).

= 1.0.0 =
* Initial release: one-click connect, automatic account provisioning, product sync, and SSO into the Cobiro dashboard.
