=== SmartProductSEO – SEO Generator for WooCommerce ===
Contributors: jolizzie
Tags: woocommerce, seo, product seo, meta description, yoast seo
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.6.9
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate search-intent-focused WooCommerce SEO titles, focus keyphrases, and meta descriptions with Yoast-compatible product SEO tools.

== Description ==

SmartProductSEO – SEO Generator for WooCommerce helps store owners create cleaner, search-intent-focused SEO titles, focus keyphrases, and meta descriptions for WooCommerce product pages.

The plugin adds a professional SmartProductSEO generator box above the Yoast SEO section on WooCommerce product edit pages. Users can generate optimized SEO fields with one click, review the results, restore previous SEO values if needed, and then save the final product update.

SmartProductSEO includes a built-in dashboard with feature overviews, Quick Start instructions, working settings toggles, AI-ready SEO controls, product-type presets, support information, and future Pro version feature previews.

It uses rotating SEO sentence structures, smart product type detection, clean title trimming, fallback placement support, branded admin styling, button icons, improved Yoast field targeting, history snapshots, restore support, dependency notices, safer settings sanitization, and Yoast-compatible field updates to help create more natural product SEO wording.

Perfect for:

* Fashion stores
* Swimwear stores
* Boutique shops
* Beauty brands
* Jewelry stores
* Handbag shops
* Home decor stores
* Tech accessory stores
* WooCommerce product catalogs

== Features ==

* Generate SEO Title
* Generate Focus Keyphrase
* Generate Meta Description From Title
* Generate Meta Description From Short Description
* Generate All 3 Instantly
* Restore Previous SEO button
* Real history snapshot restore support
* Smart rotating SEO sentence structures
* Universal product type detection
* Search-intent-focused metadata wording
* Yoast SEO compatibility
* WooCommerce dependency notice
* Yoast SEO recommendation notice
* Improved instant field updates without page reload
* Floating success and restore notifications
* SEO-friendly meta length trimming
* Clean word-based SEO title endings
* More natural non-duplicate wording
* Professional branded admin interface
* Plugin logo inside the generator header
* Button icons for faster visual scanning
* Primary Generate All 3 action button
* Yoast Compatible and WooCommerce Ready status badges
* Fallback placement support when Yoast loads differently
* Improved Yoast SEO title and meta description field targeting
* Built-in SmartProductSEO dashboard
* Quick Start Guide section
* Interactive plugin settings toggles
* Safer settings sanitization
* Dark mode admin styling
* AI-ready SEO wording controls
* Product type SEO presets
* One-click generate control
* Floating notification control
* Smart title cleanup control
* Product preset control
* History / Undo Restore control
* WordPress.org screenshot support
* Future Pro version features section
* Support and documentation section

== Supported Product Types ==

SmartProductSEO supports a wide variety of ecommerce product types, including:

* Fashion
* Swimwear
* Dresses
* Handbags
* Jewelry
* Shoes
* Beauty
* Skincare
* Cosmetics
* Wigs
* Lashes
* Home Decor
* Candles
* Gifts
* Tech Accessories
* Activewear
* Lingerie
* And more

== Installation ==

1. Upload the plugin ZIP through the WordPress Plugins screen.
2. Activate the plugin.
3. Make sure WooCommerce is installed and activated.
4. Yoast SEO is recommended for full SEO field compatibility.
5. Edit a WooCommerce product.
6. Find the SmartProductSEO box above the Yoast SEO section or near the WooCommerce product data area.
7. Use the generator buttons.
8. Review the generated SEO fields.
9. Use Restore Previous SEO if you want to undo the latest generated SEO change before saving.
10. Click Update to save the final SEO fields.

== Frequently Asked Questions ==

= Does this automatically modify all products? =

No. SEO fields are only generated when buttons are clicked manually on an individual product page.

= Is WooCommerce required? =

Yes. This plugin is specifically designed for WooCommerce products. If WooCommerce is missing, SmartProductSEO shows an admin notice.

= Is Yoast SEO required? =

Yoast SEO is recommended for full compatibility with SEO title, focus keyphrase, and meta description fields. If Yoast SEO is missing, SmartProductSEO shows a recommendation notice.

= Does this use AI or external APIs? =

No. The plugin generates SEO content locally without requiring OpenAI, API keys, or monthly subscriptions.

= Does this replace Yoast SEO? =

No. This plugin works alongside Yoast SEO and helps generate SEO content faster.

= Where does the generator appear? =

The generator appears in its own SmartProductSEO box above the Yoast SEO section when available. If Yoast loads differently, the plugin attempts to place the generator near the WooCommerce product data area.

= Do I need to click Update after generating SEO fields? =

Yes. After generating or restoring the SEO title, focus keyphrase, or meta description, click Update to save the product changes.

= What does Restore Previous SEO do? =

Restore Previous SEO brings back the previous SEO title, focus keyphrase, and meta description snapshot before the latest generated change. This lets users safely undo a generated result before clicking Update.

= Does the plugin include a dashboard? =

Yes. SmartProductSEO includes a built-in dashboard with a Quick Start Guide, feature overview, settings toggles, product type presets, support information, and future Pro version feature previews.

= Do the settings toggles work? =

Yes. The dashboard settings save inside WordPress and affect plugin behavior, including dark mode, floating success notifications, title cleanup, product presets, AI-ready wording, one-click Generate All 3, and History / Undo Restore.

= What does AI-ready wording mean? =

AI-ready wording means the plugin uses more natural, search-intent-focused phrasing designed to be easier for search engines, shoppers, and AI assistants to understand.

= What are product type presets? =

Product type presets adjust generated SEO wording based on product categories such as fashion, swimwear, dresses, handbags, jewelry, beauty, skincare, cosmetics, home decor, activewear, lingerie, and more.

= What does History / Undo Restore do? =

When enabled, the plugin saves recent SEO field values before generated values overwrite them. Users can then click Restore Previous SEO to bring back the latest saved snapshot before saving the product.

= Are bulk generation and category-wide SEO included? =

No. Bulk SEO generation and category-wide SEO generation are planned for a future Pro version.

== Screenshots ==

1. SmartProductSEO generator box above the Yoast SEO section.
2. Generated SEO title and meta description inside Yoast SEO.
3. Floating success notification after generation.
4. SmartProductSEO dashboard welcome area.
5. Plugin settings toggles and admin controls.
6. Product type SEO preset section.
7. Plugin feature dashboard.

== Changelog ==

= 1.6.9 =
* Version update to 1.6.9.
* Tested up to WordPress 7.1.

= 1.6.8 =
* Matched the WooCommerce product edit SEO generator box to the colorful animated SmartProductSEO dashboard styling.
* Added animated gradient accents, brighter button treatments, decorative emoji details, hover effects, and improved visual depth.
* Styling-only update; SEO generation, Yoast integration, restore logic, settings, and product functionality are unchanged.


= 1.6.6 =
* Updated plugin text domain to match the WordPress.org plugin slug.
* Updated support email to support@smartproductseo.com.
* Updated visible dashboard and generator version labels.
* Prepared first public WordPress.org SVN release package.

= 1.6.5 =
* Added proper sanitization callbacks for all register_setting() options.
* Improved WordPress.org settings validation compatibility.
* Improved admin option security and data sanitization handling.
* Minor plugin stability and dashboard improvements.

= 1.6.4 =
* Updated plugin branding to SmartProductSEO.
* Updated product edit generator box title to SmartProductSEO.
* Updated product edit generator version badge to 1.6.4.
* Updated plugin website references to https://smartproductseo.com/.
* Updated plugin display name to SmartProductSEO – SEO Generator for WooCommerce.
* Updated plugin metadata for WordPress.org review preparation.
* Updated Pro wording from add-on language to future Pro version language.
* Removed dashboard screenshot references from plugin code.
* Prepared free plugin release structure for WordPress.org submission.

= 1.6.3 =
* Added WooCommerce dependency admin notice.
* Added Yoast SEO recommendation admin notice.
* Added safer settings sanitization for dashboard toggles.
* Added real Restore Previous SEO button.
* Added AJAX restore support for previous SEO snapshots.
* Improved history snapshot handling to skip empty and duplicate snapshots.
* Updated dashboard wording to emphasize search-intent-focused metadata.
* Updated Quick Start Guide with restore workflow.
* Updated feature cards for Undo / Restore support.
* Updated product generator version labels to 1.6.3.
* Updated dashboard version labels to 1.6.3.
* Clarified future Pro version features.

= 1.6.2 =
* Connected dashboard settings to real plugin behavior.
* Added floating notification control.
* Added smart title cleanup behavior control.
* Added product preset behavior control.
* Added AI-ready wording behavior control.
* Added one-click Generate All 3 behavior control.
* Added dark mode styling to the product generator box.
* Added SEO history snapshot preparation before overwriting fields.
* Added default settings on plugin activation.
* Updated dashboard and product generator version labels to 1.6.2.

= 1.6.1 =
* Added full plugin dashboard interface.
* Added Quick Start Guide section.
* Added interactive settings toggles.
* Added dark mode admin styling.
* Added AI-ready SEO wording controls.
* Added product type preset dashboard.
* Added support and documentation section.
* Added future Pro version features section.
* Improved Yoast SEO title field targeting.
* Improved Yoast meta description field targeting.
* Improved instant visual updates for SEO title and meta description fields.
* Added additional Yoast refresh triggers.
* Updated version badge to 1.6.1.

= 1.6 =
* Added plugin logo inside the generator header.
* Added button icons for generator actions.
* Moved the generator box outside the Yoast SEO panel.
* Added fallback placement support when Yoast loads differently.
* Added professional plugin header area.
* Added Yoast Compatible, WooCommerce Ready, and version badges.
* Improved admin container styling.
* Improved button styling.
* Made Generate All 3 the primary action button.
* Improved help text.
* Improved SEO title trimming logic.
* Prevented SEO titles from ending with periods.
* Improved cleaner word-based title endings.
* Improved long title handling.
* Improved punctuation cleanup.
* Improved meta generation quality.

= 1.5 =
* Added floating success notifications.
* Added universal product category detection.
* Added rotating meta description structures.
* Improved meta trimming logic.
* Improved Yoast SEO field compatibility.
* Added instant field updating.
* Added better sentence cleanup logic.

= 1.0 =
* Initial release.