A WordPress plugin that generates B2B-optimised product descriptions, short excerpts, and SEO meta — directly from your existing WooCommerce product data (name, categories, attributes, custom fields, and more).
Built for stores serving procurement teams, operations leads, and business buyers — not consumer-facing fluff.
Most AI content plugins are built for B2C stores. They write like a lifestyle brand. If you run a B2B WooCommerce store — wholesale, trade, manufacturing, or enterprise — you need content that speaks to buyers who care about specs, ROI, compatibility, and integration. This plugin does that.
It also pulls from your existing product data automatically — no copy-pasting into a prompt box. Just open a product, click Generate, review, and apply.
- Generates full product description, short excerpt, and SEO meta (title + description)
- Pulls from: product name, type, SKU, categories, tags, attributes, dimensions, weight, existing content, and public custom fields (ACF-friendly)
- Four B2B tones: Professional, Technical, Consultative, Formal
- Optional buyer persona field to tailor output to your specific audience
- Supports OpenAI (GPT-4o), Anthropic (Claude), Google (Gemini 1.5 Pro), and OpenRouter (any model)
- API keys encrypted at rest — never exposed to the browser
- Applies generated content directly to WooCommerce product fields including Yoast SEO and RankMath
- Bulk generation coming in v1.1
- Download or clone this repository into your
/wp-content/plugins/directory - Activate the plugin from Plugins → Installed Plugins
- Go to WooCommerce → AI Content Gen to configure your API key and defaults
- Open any product — the B2B AI Content Generator metabox appears in the sidebar
Go to WooCommerce → AI Content Gen → Settings.
| Provider | Where to get your key |
|---|---|
| OpenAI | platform.openai.com/api-keys |
| Claude | console.anthropic.com |
| Gemini | aistudio.google.com/apikey |
| OpenRouter | openrouter.ai/keys |
API keys are encrypted using AES-256-CBC before being stored in the database. They are never passed to the browser or logged.
| Tone | Best for |
|---|---|
| Professional & authoritative | General B2B, default |
| Technical & spec-led | Industrial, hardware, manufacturing |
| Consultative & solution-focused | SaaS, services, complex products |
| Formal (regulated industries) | Healthcare, finance, legal |
Optional but recommended. Example:
"Procurement managers at Norwegian manufacturing SMEs buying industrial equipment"
This is passed directly to the AI and significantly improves content relevance.
- Open any WooCommerce product for editing
- In the B2B AI Content Generator sidebar metabox, select what to generate
- Click Generate B2B Content
- Review the output in the preview panel
- Click Apply to product — content is written to the description, excerpt, and SEO fields
- Save the product as normal
- All AJAX requests verified with WordPress nonces
- Capability check (
edit_products) on every request - API keys stored encrypted, never autoloaded as plaintext
- All user input sanitized; all output escaped
- No data sent to third parties except the configured AI provider
- WordPress 6.0+
- WooCommerce 7.0+
- PHP 7.4+
- An API key from one of the supported providers
- Bulk generation for multiple products
- Per-product tone override in metabox
- Generation history / undo
- Support for variable product variation descriptions
- WooCommerce import integration (generate content during CSV/XML import)
Pull requests welcome. Please follow WordPress coding standards and include one scenario per PR.
GPL-2.0+. See LICENSE for details.
Built by Anjana Kanzariya — WordPress backend developer specialising in WooCommerce customisation and B2B eCommerce.