=== AI Product Content Generator ===
Contributors: jaq0911
Tags: woocommerce, ai, product description, seo, openai, artificial intelligence
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate AI-powered product descriptions, SEO titles, and meta descriptions for WooCommerce products in one click.

== Description ==

Stop spending hours writing product descriptions. AI Product Content Generator uses OpenAI's GPT to write compelling, conversion-focused product descriptions, SEO-optimized titles, and meta descriptions in seconds — directly inside your WooCommerce product editor.

= How it works =

1. Open any WooCommerce product
2. Find the AI Content Generator box on the product page
3. Enter your product name and a few details
4. Click Generate Content
5. Review and click Apply All to Product

That's it. What used to take 20-30 minutes takes under 60 seconds.

= Features =

* AI product description generation (150-200 words, conversion-focused)
* SEO-optimized title generation (under 60 characters)
* Meta description generation (under 155 characters)
* 5 writing tones: professional, friendly, luxury, playful, technical
* 8 languages: English, Amharic, French, Spanish, German, Arabic, Swahili, Portuguese
* One-click apply to product fields
* Works with Gutenberg and Classic Editor
* Compatible with Yoast SEO and Rank Math

= Requirements =

* WordPress 5.8 or higher
* WooCommerce 6.0 or higher
* PHP 7.4 or higher
* OpenAI API key (get one at platform.openai.com — costs approximately $0.003 per generation)

== External services ==

This plugin relies on the OpenAI API, a third-party artificial intelligence service, to generate product descriptions, SEO titles, and meta descriptions.

= What data is sent and when =

When a user clicks the "Generate Content" button on a WooCommerce product edit page, the plugin sends the following data to the OpenAI API:

* The product name entered by the user
* The product category (if provided)
* Key features or details (if provided)
* The target customer description (if provided)
* The selected writing tone (e.g. professional, friendly)
* The selected content language (e.g. English, French)

No personal data, customer data, order data, or any other store data is sent. Only the product information explicitly entered by the user in the AI Content Generator form fields is transmitted.

Data is sent only when the user actively clicks the Generate button. No data is sent automatically, in the background, or on page load.

= Service provider =

This service is provided by OpenAI, L.L.C.

* Service website: [https://openai.com](https://openai.com)
* API documentation: [https://platform.openai.com/docs](https://platform.openai.com/docs)
* Terms of use: [https://openai.com/policies/terms-of-use](https://openai.com/policies/terms-of-use)
* Privacy policy: [https://openai.com/policies/privacy-policy](https://openai.com/policies/privacy-policy)

Users must create their own OpenAI account and provide their own API key to use this plugin. Usage of the OpenAI API is subject to OpenAI's terms of use and privacy policy. API usage costs are billed directly by OpenAI to the user's account (approximately $0.003 per generation).

== Installation ==

1. Upload the plugin ZIP via Plugins → Add New → Upload Plugin
2. Activate the plugin
3. Go to AI Product Content in the left menu
4. Enter your OpenAI API key and click Save Settings
5. Open any WooCommerce product and use the AI Content Generator box

== Frequently Asked Questions ==

= Do I need an OpenAI account? =
Yes. You need a free OpenAI account and API key from platform.openai.com. The cost per generation is approximately $0.003 — less than a fraction of a cent.

= What data is sent to OpenAI? =
Only the product information you explicitly enter in the AI Content Generator form (product name, category, features, target customer). No personal data, customer data, or other store data is ever sent. See the "External services" section for full details.

= Will this work with my theme? =
Yes. The plugin adds a meta box to the WooCommerce product editor and works with all themes.

= Does it work with the Gutenberg block editor? =
Yes. Content is applied directly to the block editor, classic editor, and all WooCommerce fields automatically.

= Is my API key stored securely? =
Your API key is stored in your WordPress database using the standard options table, the same way all plugin settings are stored.

== Screenshots ==

1. The AI Content Generator box inside the WooCommerce product editor
2. Generated content — description, SEO title, and meta description
3. Plugin settings page — enter your API key and choose your tone and language

== Changelog ==

= 1.0.0 =
* Initial release
* AI product description generation
* SEO title generation
* Meta description generation
* 5 writing tone options
* 8 language options
* Gutenberg and Classic Editor compatibility
* Yoast SEO and Rank Math compatibility

== Upgrade Notice ==

= 1.0.0 =
Initial release.
