=== CreatesWowtech Product Feed Manager ===
Contributors: kvhsolutions
Tags: woocommerce, product feed, shopping feed, xml feed, catalog
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 8.1
Stable tag: 1.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate and manage WooCommerce product feeds for shopping channels, catalogs, and custom XML/CSV/JSON outputs.

== Description ==

CreatesWowtech Product Feed Manager helps store owners create product feed files from their WooCommerce catalog for advertising platforms, merchant centers, and custom integrations.

The plugin generates feed files and provides public feed URLs you can submit in each channel’s own tools (for example Merchant Center or Catalog Manager). It does not log into marketplace seller accounts or push products through marketplace APIs.

Plugin homepage: [CreatesWowtech Product Feed Manager](https://www.createswowtech.com/plugin/createswowtech-product-feed/)

Developed by [CreatesWowtech](https://www.createswowtech.com).

= Key features =

* Create multiple feeds with channel-specific formats (XML, CSV, TSV, JSON, JSON-LD where supported)
* Dashboard with feed status, product counts, health summary, and view analytics
* Scheduled regeneration (hourly, every 6 hours, daily, weekly)
* Optional regeneration when products change
* Category mapping from WooCommerce categories to channel category values
* Reusable attribute mapping templates (WooCommerce source fields → feed attributes)
* Background generation for larger catalogs
* Feed generation logs
* Optional AI title/description optimization via the WordPress AI Client

= Supported feed targets =

* Google Merchant Center / Google Shopping style feeds
* Meta / Facebook and Instagram style catalogs
* Microsoft Bing Merchant Center style feeds
* Amazon-style product feeds
* TikTok, Pinterest, and Snapchat style catalog feeds
* ChatGPT Shopping / AI commerce style JSON feeds
* Custom XML, CSV/TSV, and JSON feeds

Channel names above identify supported feed formats. This plugin is not affiliated with or endorsed by Google LLC, Meta Platforms, Inc., Microsoft, Amazon, TikTok, Pinterest, Snap Inc., OpenAI, or related trademarks.

= How AI optimization works =

Optional title and description optimization uses the WordPress AI Client (WordPress 7.0+). Configure AI providers in WordPress AI settings. This plugin does not store third-party API keys and does not call provider HTTP APIs directly.

OpenAI is a trademark of OpenAI, Inc. This plugin is not affiliated with or endorsed by OpenAI.

= Suggested workflow =

1. Activate WooCommerce and this plugin, then flush permalinks.
2. Create a feed (channel → format → name, filters, schedule).
3. Generate the feed and open the public feed URL.
4. Submit that URL (or download the file) in the destination platform’s feed/catalog tools.
5. Fix product data issues reported by the platform, then regenerate.

= External services =

**WordPress AI Client (optional)**

* Used only when you run AI title/description optimization.
* Requests are sent through `wp_ai_client_prompt`.
* Data that may be sent: product title/description text you choose to optimize.
* Credentials: managed by WordPress / your chosen AI provider plugin — not stored by this plugin.

**Public feed URLs**

* Generated feeds are served from your site so external platforms can fetch them when you share the URL.
* Platforms you choose to connect may retrieve product data from those URLs under their own terms.

Learn more at [CreatesWowtech](https://www.createswowtech.com/).

== Installation ==

1. Upload the `createswowtech-product-feed-manager` folder to `/wp-content/plugins/`
2. Activate the plugin through the Plugins menu in WordPress
3. Ensure WooCommerce is installed and active
4. Go to Settings → Permalinks and click Save Changes
5. Open Product Feed Manager → Add New Feed
6. Generate your feed and copy the public feed URL

== Frequently Asked Questions ==

= Does this require WooCommerce? =

Yes. WooCommerce 8.0 or higher is required (`Requires Plugins: woocommerce`).

= Does the plugin push products into Google, Meta, or Amazon automatically? =

No. It generates feed files/URLs. You submit those feeds in each platform’s Merchant Center, Catalog Manager, or equivalent tools.

= Are there feed or product limits? =

The plugin does not impose a fixed feed or product cap. Practical limits depend on your hosting resources and WP Cron.

= How does AI optimization work? =

Configure a text-capable AI provider in WordPress AI settings. Then use Product Feed Manager → AI Optimization to improve sample titles or descriptions. Always review AI output before updating products.

= Why is my feed URL returning 404? =

Flush permalinks (Settings → Permalinks → Save), generate the feed at least once, and confirm the feed is active.

= Where can I find documentation and support? =

Plugin page: [https://www.createswowtech.com/plugin/createswowtech-product-feed/](https://www.createswowtech.com/plugin/createswowtech-product-feed/)

Contact: [https://www.createswowtech.com/contact/](https://www.createswowtech.com/contact/)

== Changelog ==

= 1.2.0 =
* WordPress.org prefix compliance: unified on creaprfe (options, hooks, REST, assets, namespace)
* Migrates legacy cpf_* options and cron hooks on upgrade

= 1.1.6 =
* Escape custom table names with esc_sql() before interpolated SQL queries

= 1.1.5 =
* Plugin Check cleanup: prefixed hooks/constants/bootstrap, nonce ignores, WP DB sniffs, SlowDBQuery notes

= 1.1.4 =
* Plugin Check fixes: text domain matches WP.org slug, WP_Filesystem for feed output, prefixed uninstall variables

= 1.1.3 =
* WordPress.org compliance updates: branding, readme External services, trademark notes, contributor metadata
* Clarified feed delivery model (files/URLs, not marketplace API push)
* Removed leftover license/freemium scaffolding
* Added rate limiting for AI optimize REST endpoint
* Uninstall now clears plugin transients when data deletion is enabled

= 1.1.2 =
* Mapping templates: format selection and attribute mapping UI
* Admin UI improvements for templates

= 1.1.1 =
* Database/template format support and related fixes

= 1.1.0 =
* Redesigned Product Feed Manager dashboard UI
* Added feed views analytics, feed health, categories, and mapping templates

= 1.0.0 =
* Initial release
