=== Digital Ebene AI Description Generator for WooCommerce ===
Contributors: komlavi
Tags: woocommerce, ai, product description, seo, openai
Requires at least: 6.0
Tested up to: 7.0
Stable tag: 1.0.1
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate WooCommerce product descriptions, image alt texts and SEO meta descriptions automatically using AI.

== Description ==

Digital Ebene AI Description Generator for WooCommerce uses the OpenAI API to automatically generate high-quality content for your WooCommerce products — directly from the product edit page.

**What it generates:**

* **Product descriptions** — Benefit-focused, SEO-optimised copy between 100 and 150 words.
* **Image alt texts** — Concise, accessible alt text for your main product image (max 125 characters).
* **SEO meta descriptions** — Click-optimised meta descriptions between 140 and 160 characters, saved directly into Yoast SEO, Rank Math or All in One SEO if installed.

**Key features:**

* Generate content with one click from any WooCommerce product page.
* Bulk generation: select multiple products from the product list and generate all descriptions at once.
* Four writing tones: Professional, Casual, Luxury/Premium, Technical.
* Optional keywords: add comma-separated keywords you want included in every description.
* Compatible with Yoast SEO, Rank Math and All in One SEO for automatic meta description saving.
* Compatible with WooCommerce HPOS (High-Performance Order Storage).

**Requirements:**

* WooCommerce 6.0 or later.
* An OpenAI API key (create one at [platform.openai.com](https://platform.openai.com/api-keys)).

== Installation ==

1. Upload the plugin folder to the `/wp-content/plugins/` directory, or install via **Plugins > Add New**.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Go to **WooCommerce > Digital Ebene AI** and enter your OpenAI API key.
4. Open any WooCommerce product and use the **Digital Ebene AI** meta box to generate content.

== Frequently Asked Questions ==

= Do I need an OpenAI account? =

Yes. The plugin sends requests to the OpenAI API. You need to create an account at [platform.openai.com](https://platform.openai.com) and generate an API key. OpenAI charges per request — gpt-4o-mini is very affordable (a few cents per hundred generations).

= Is my API key stored securely? =

Your API key is stored in the WordPress options table using the standard `get_option` / `update_option` mechanism, the same way all WordPress plugins store settings.

= Which SEO plugins are supported for meta descriptions? =

Yoast SEO, Rank Math and All in One SEO are supported. If none is detected, the generated meta description is displayed for manual copy-paste.

= What language does it generate content in? =

The generated content language depends on the prompt. By default the plugin generates English content. You can influence the language by editing the keywords field or choosing a tone that matches your store's audience.

== Screenshots ==

1. Settings page — enter your API key and choose a writing tone.
2. Product page meta box — generate description, alt text and meta description with one click.
3. Bulk generation — progress page after launching a bulk action.

== Changelog ==

= 1.0.0 =
* Initial release.
* Individual generation: product description, image alt text, SEO meta description.
* Bulk description generation via WooCommerce product list bulk actions.
* Four writing tones.
* Yoast SEO, Rank Math and All in One SEO integration.

== External Services ==

This plugin sends data to the OpenAI API to generate content.

**What data is sent:** The product name, category, and attributes (if any) are included in the API request. No personally identifiable information is transmitted.

**When data is sent:** Only when a user explicitly clicks a "Generate" button in the WordPress admin, or triggers a bulk generation action.

**Service:** OpenAI
**URL:** https://api.openai.com/v1/chat/completions
**Privacy policy:** https://openai.com/policies/privacy-policy
**Terms of use:** https://openai.com/policies/usage-policies

By using this plugin you agree to OpenAI's Terms of Use and Privacy Policy.
