=== Brahmabit AI Photo Prompt for WooCommerce ===
Contributors: brahmabit, alexutz6
Tags: woocommerce, ai, product photos, social media, image generator
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
Requires Plugins: woocommerce
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate AI product photos via ChatGPT directly from your WooCommerce store — one click to launch a custom prompt with the product image pre-loaded.

== Description ==

**Brahmabit Photo Prompt** adds a floating AI Photo Generator panel to your WordPress/WooCommerce site. Authorised users (administrators, editors, shop managers) can:

* Browse, search and filter all WooCommerce products
* Click **Generate Photo** on any product
* The product image is automatically copied to clipboard
* ChatGPT opens in a new tab with a fully customisable prompt pre-filled
* Paste the image (Ctrl+V / ⌘V) into the ChatGPT chat and send — done!

= Features =

* Accessible from the frontend navigation menu and/or the WP Admin Bar
* Dedicated admin page under **Brahmabit Photo Prompt → Photo Generator**
* Grid and list view for the product browser
* Paginated product browser (configurable products per page)
* Fully customisable prompt template with `{{product_name}}`, `{{category}}`, `{{description}}`, `{{sku}}`, `{{price}}` placeholders
* Role-based access control — choose which user roles can see the panel
* Clean settings page with no impact on store performance

= Who is this for? =

Store owners, social media managers and marketing teams who want to quickly generate high-quality AI product photos for social media posts without leaving WordPress.

= Upgrade to Pro =

**Brahmabit Photo Prompt** is the free starting point. When you're ready to put your social media on autopilot, upgrade to **[Social Bit PRO](https://socialbit.ro)**.

**Social Bit PRO** is a fully automated social media machine — content generation, scheduling, multi-channel publishing, AI strategy, and analytics, all running without manual prompting or copy-pasting.

= Free vs PRO — Feature Comparison =

| Feature | Brahmabit Photo Prompt (Free) | Social Bit PRO |
|---|:---:|:---:|
| AI Product Photo Generator | ✓ | ✓ |
| WooCommerce Product Browser | ✓ | ✓ |
| ChatGPT Prompt Automation | ✓ | ✓ |
| Plugin-free Cloud Sync | — | ✓ |
| Fully Automated Posting | — | ✓ |
| Facebook & Instagram Publishing | — | ✓ |
| LinkedIn & TikTok Publishing | — | ✓ |
| AI Strategist Reports | — | ✓ |
| Custom Brand & Voice | — | ✓ |
| Content Calendar | — | ✓ |
| Auto-Scheduling | — | ✓ |
| AI Marketing Advisor | — | ✓ |
| Performance Analytics | — | ✓ |
| Multi-account Management | — | ✓ |

➡ **[Get Social Bit PRO at socialbit.ro](https://socialbit.ro)**

= Privacy =

This plugin does **not** collect any personal data, send data to external servers, or set any tracking cookies. The only external interaction is a browser-initiated navigation to `chatgpt.com` when the user clicks the **Generate Photo** button — see the External Services section below.

== Installation ==

1. Upload the `socialbit-light` folder to `/wp-content/plugins/`
2. Activate the plugin via **Plugins → Installed Plugins**
3. WooCommerce must be active — the plugin will display an admin notice if it is not
4. Go to **Brahmabit Photo Prompt → Settings** to configure the prompt template, role access, and display options

== Frequently Asked Questions ==

= I don't see the button in my frontend navigation menu. =

Go to **Brahmabit Photo Prompt → Settings** and verify "Show in Navigation Menu" is enabled. Also make sure your primary navigation menu is assigned to a theme location named `primary`, `main-menu`, `primary-menu`, or `header-menu`. You can add additional locations via the `sbl_menu_locations` filter.

= The product image is not copying to clipboard. =

The Clipboard API requires a secure context (HTTPS). On HTTP sites the plugin falls back to copying the image URL as text instead. Upgrading your site to HTTPS will enable full clipboard functionality.

= Can I change the ChatGPT prompt? =

Yes — edit the prompt template under **Brahmabit Photo Prompt → Settings**. Use `{{product_name}}`, `{{category}}`, `{{description}}`, `{{sku}}` and `{{price}}` as dynamic placeholders.

= Does this plugin work without WooCommerce? =

No. This plugin requires WooCommerce to be installed and active.

= Is my data sent anywhere? =

No data is sent to any external server by this plugin. When you click "Generate Photo", your browser opens ChatGPT in a new tab — this is a standard browser navigation action, no different from clicking any external link.

== External Services ==

This plugin facilitates (but does not automate) opening **ChatGPT** (https://chatgpt.com) in a new browser tab. This happens only when a logged-in, authorised user explicitly clicks the **Generate Photo** button. No data is sent automatically or in the background.

* Service: ChatGPT by OpenAI — https://chatgpt.com
* Privacy policy: https://openai.com/policies/privacy-policy
* Terms of use: https://openai.com/policies/terms-of-use

The product image is copied to the user's local clipboard using the browser's Clipboard API. No image data leaves the user's browser except through the user's own actions in ChatGPT.

== Screenshots ==

1. Admin Photo Generator page — paginated product grid with category filter, sort, grid/list toggle, and one-click "Generate Photo" buttons per product.
2. Settings page — Prompt Template editor with dynamic placeholders, Access Control (role checkboxes), Interface options (button label, products per page, frontend menu / admin bar visibility), and ChatGPT Model selector.
3. Upgrade to Pro page — feature comparison table (Brahmabit Photo Prompt Free vs Social Bit PRO) and Social Bit PRO highlights.

== Changelog ==

= 1.0.0 =
* Initial release

== Upgrade Notice ==

= 1.0.0 =
First public release.
