=== PromptStocked for WooCommerce ===
Contributors: promptstocked
Tags: woocommerce, chatgpt, product feed, openai, ai shopping
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Requires Plugins: woocommerce
Stable tag: 0.2.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Check if your WooCommerce store is ready for ChatGPT shopping, see what to fix, and build a product feed in the OpenAI format.

== Description ==

ChatGPT can now suggest products from online stores. To be included, a store sends OpenAI a product feed, and each product needs data such as a brand, an image, a description and a price.

PromptStocked checks your whole catalog against these requirements, shows exactly what to fix, and builds the feed for you.

= Readiness check =

* Store checks: HTTPS, seller name, privacy policy and terms of service links, product structured data (works with Yoast SEO and Rank Math), store currency.
* Product checks on every product and variation: description, brand, main image, regular price, GTIN (UPC, EAN, ISBN) length and check digit, title length.
* Problems are grouped, with links straight to the products that need work.
* Downloadable products are flagged, because OpenAI does not support most digital goods.

= Product feed in the OpenAI format =

* One `products.jsonl.gz` file, the format OpenAI accepts for file uploads.
* Variations become separate items linked to their parent product.
* Regular and sale prices, availability, gallery images, category path, weight and dimensions, reviews.
* Seller name, store URL, privacy policy, terms and return policy links.
* Rebuilt once a day, or on demand with one click.

= Apply to ChatGPT =

A checklist of what OpenAI looks for before you apply, and ready answers for the merchant application form, taken from your store.

= Good to know =

* There is no product limit.
* Being in the feed makes products eligible. It does not guarantee that ChatGPT shows them.
* OpenAI's standard feed upload currently targets stores that sell in the US with prices in USD. The readiness check works for any store.
* The plugin does not send any data to OpenAI or to us. You download the feed and upload it yourself after OpenAI approves your application.

PromptStocked is not affiliated with or endorsed by OpenAI. ChatGPT and OpenAI are trademarks of OpenAI.

== Installation ==

1. Install and activate WooCommerce.
2. In WordPress, go to Plugins > Add New, search for "PromptStocked" and click Install, then Activate.
3. Open WooCommerce > PromptStocked and click "Check my store".
4. Fix the problems the check finds, then open the "ChatGPT feed" tab and download the feed.

== Frequently Asked Questions ==

= Do I need an OpenAI merchant account? =

Yes. You apply at chatgpt.com/merchants and OpenAI reviews each application. The "Apply to ChatGPT" tab has a checklist and ready answers for the form.

= How does the feed get to OpenAI? =

OpenAI receives feeds over SFTP as a full snapshot at least once a day. After approval, OpenAI gives you the upload details. Download the file from the "ChatGPT feed" tab and upload it with the same name each time.

= Where is the feed file stored? =

In a folder inside your uploads directory, under a long random file name. In wp-admin, only users who can manage WooCommerce see the Download button.

= Can I sell digital products? =

Most digital goods, such as downloadable files and templates, are not supported by OpenAI. Regular software and licenses are an exception. Downloadable products are left out of the feed by default; you can change this in Settings.

= Where does the brand come from? =

From Products > Brands (WooCommerce 9.6 and newer), then from a product attribute you choose in Settings, then from the "Default brand" setting. Use the default brand only if you own the brand of these products.

= Does it work with Yoast SEO or Rank Math? =

Yes. The markup check understands their structured data. If a theme or plugin removed WooCommerce product markup, you can turn it back on in Settings.

= Is it compatible with High-Performance Order Storage? =

Yes. The plugin does not read or change orders.

== Screenshots ==

1. Readiness check: how many items are ready, store checks and product problems with links.
2. ChatGPT feed: generate and download the OpenAI feed.
3. Apply to ChatGPT: checklist and ready answers for the application form.
4. Settings: seller details, policy links and brand.

== Changelog ==

= 0.2.3 =
* New admin design: progress meters, collapsible problem list, stat tiles, copy buttons, settings with switches. Works on phones.

= 0.2.1 =
* Product markup check uses an in-stock product with a price.
* Every variant has listing_has_variations and variant_dict, as the OpenAI spec requires.
* Variants no longer list photos of other variants.
* "Main categories" leaves out "Uncategorized".

= 0.2.0 =
* Warning when most items get their brand from the "Default brand" setting.
* Downloadable products are flagged and left out of the feed by default.
* Markup check understands @graph (Yoast, Rank Math), ProductGroup and microdata.
* Option to restore WooCommerce product markup.
* Settings for store URL, privacy policy, terms and return policy.
* New "Apply to ChatGPT" tab.

= 0.1.0 =
* First version: readiness check, OpenAI feed, settings.

== Upgrade Notice ==

= 0.2.3 =
New, easier admin screens. No changes to the feed.
