=== StoreMage - AI Product Optimizer for WooCommerce ===
Contributors: neonplatypus
Tags: woocommerce, ai, product descriptions, seo, image optimization
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

AI-powered product description generation and image enhancement for WooCommerce.

== Description ==

**StoreMage** is a powerful AI Product Optimizer for WooCommerce that leverages cutting-edge AI technology to help you create SEO-optimized product descriptions and enhance product images automatically.

= Features =

* **AI-Powered Text Generation** - Generate compelling, SEO-optimized product descriptions using advanced AI
* **Image Enhancement** - Upscale images, correct colors, and denoise with Real-ESRGAN
* **Creative Variations** - Generate AI-powered creative image variations
* **Alt-Text Generation** - Automatically generate SEO-friendly alt-text for product images using AI vision
* **Review Response Generation** - AI-powered responses to customer reviews
* **Bulk Processing** - Process multiple products at once
* **Tag Suggestions** - AI-powered product tag recommendations (included in AI text generation)
* **Background Removal** - Remove image backgrounds with AI
* **Freemium Model** - Start free with 20 upscaling credits, 3 creative credits, and 10 background removals per month

= Use Cases =

* Generate professional product descriptions in seconds
* Enhance low-quality product images
* Create creative product image variations
* Optimize images for better SEO with AI-generated alt-text
* Respond to customer reviews quickly with AI assistance
* Scale your product catalog efficiently

= Plans & Pricing =

* **Free** - 20 upscaling credits, 3 creative credits, 10 background removals per month
* **Starter / Growth / Agency** - Paid plans include unlimited AI text (fair use), unlimited alt text, unlimited review responses, unlimited tag suggestions, plus higher image credit limits

See current pricing at https://neonplatypus.dev/products/storemage

= Requirements =

* WordPress 6.0 or higher
* WooCommerce 8.0 or higher
* PHP 7.4 or higher

= Third-Party Services =

This plugin relies on the StoreMage API service to provide AI-powered content generation and image processing. By using the AI features in this plugin, you agree to the terms of these services.

**StoreMage API** ([https://woomage.neonplatypus.dev](https://woomage.neonplatypus.dev))
This is the core service that powers all AI features. When you use any AI feature (text generation, image enhancement, tag suggestions, review responses), your request is sent to the StoreMage API.

* Data sent during activation: site URL, admin email, WordPress version, WooCommerce version, plugin version
* Data sent during AI feature usage: product names, descriptions, features, keywords, image URLs, review text
* [Terms of Service](https://neonplatypus.dev/legal/terms)
* [Privacy Policy](https://neonplatypus.dev/legal/privacy)

**Activation Flow**
When you click "Connect to StoreMage" in the plugin settings, a new browser tab opens to [https://woomage.neonplatypus.dev/activate](https://woomage.neonplatypus.dev/activate) for one-time signup. The plugin then polls the StoreMage API for the resulting license key. The activation page is hosted on the StoreMage API domain and is not part of the WordPress admin.

**Cloudflare Turnstile** ([https://www.cloudflare.com](https://www.cloudflare.com))
The StoreMage activation page (NOT the WordPress admin) loads Cloudflare Turnstile from [https://challenges.cloudflare.com](https://challenges.cloudflare.com) to verify that the activation request comes from a human and not a bot. Turnstile is provided by Cloudflare, Inc. Turnstile JavaScript only runs on the StoreMage activation page and is never loaded inside WordPress.

* [Cloudflare Privacy Policy](https://www.cloudflare.com/privacypolicy/)

All AI processing (text generation, image upscaling, background removal, creative variations) is performed server-side by the StoreMage API. No third-party AI services are contacted directly by this plugin — all requests go exclusively through the StoreMage API listed above.

**Stripe** ([https://stripe.com](https://stripe.com))
Used for subscription billing and payment processing when upgrading to a paid plan.

* Data sent: Email address and payment information are processed through Stripe
* [Terms of Service](https://stripe.com/legal)
* [Privacy Policy](https://stripe.com/privacy)

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/storemage` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to WooCommerce > StoreMage and click "Connect to StoreMage". A new browser tab will open to the StoreMage activation page to register your site for free.
4. After activation completes, return to the plugin settings, configure your options, and start optimizing your products!

== Frequently Asked Questions ==

= Do I need an API key? =

No! All API keys are managed securely on our backend server. Click "Connect to StoreMage" on the settings page; a browser tab opens to the StoreMage activation page to register your site, and the plugin receives a license key automatically once activation is complete.

= How many credits do I get for free? =

The free plan includes 20 upscaling credits (for image enhancement), 3 creative credits (for AI image variations), and 10 background removals per month. Paid plans include unlimited AI text generation, alt text, review responses, and tag suggestions.

= What happens when I run out of credits? =

You can upgrade to a paid plan for more credits. Credits reset monthly with your subscription.

= What AI models are used? =

All AI processing is handled by the StoreMage API. The plugin does not contact any third-party AI services directly.

= Is my data secure? =

Yes! No API keys are stored in your WordPress installation. All AI requests are proxied through our secure backend server.

= Is my data private? =

StoreMage only sends data when you explicitly use AI features or manage your subscription. No data is collected or transmitted without your action. All processing goes through our secure StoreMage API. See the Third-Party Services section above for full details.

= Does it work with WooCommerce HPOS? =

Yes! The plugin is fully compatible with WooCommerce High-Performance Order Storage (HPOS).

== Screenshots ==

1. Eight AI tools. Zero API keys. Free credits to start. Welcome to the easy mode of WooCommerce.
2. Stop staring at empty description boxes. Drop a photo, get SEO-optimized copy in seconds.
3. Photo or keywords — your choice. Both produce descriptions that rank.
4. SEO scoring, keyword density, readability metrics — generated, graded, and one-click applied.
5. AI reads your product, suggests the tags Google actually wants. You just pick the keepers.
6. Four image tools, one tab. Upscale, alt-text, variations, background removal — pick and go.
7. Take a phone photo. Get a studio shot. AI does the heavy lifting; you drag the slider.
8. White-background catalog shots in two seconds. No Photoshop. No designer.
9. Every product image gets keyword-rich alt text. Accessibility + Google Image rankings, automated.
10. Process 500 products while you make coffee. Descriptions, tags, images — all of them, in bulk.
11. AI replies to customer reviews in your brand voice — bulk-process a whole month's reviews in one go.
12. Free credits monthly, no API keys, cancel anytime. Upgrade only when you scale.

== Changelog ==

= 1.0.2 =
* Security: require the edit_products capability (in addition to the existing nonce check) before starting bulk processing from the products screen.

= 1.0.0 =
* Initial public release
* AI-powered text generation with multiple tones
* Image upscaling with Real-ESRGAN
* Color correction and denoising
* Creative image variations
* AI alt-text generation
* AI review response generation
* Bulk processing for multiple products
* Background removal with AI
* Tag suggestions via AI text generation
* Freemium model with credit tracking
* WooCommerce HPOS compatibility
* Browser-based activation flow with Cloudflare Turnstile bot protection

== Upgrade Notice ==

= 1.0.0 =
Initial public release of StoreMage - AI Product Optimizer for WooCommerce.
