Spec-Aware AI FAQ Generator & WordPress Native AI Connectors
Connect Google Gemini, OpenAI, or Anthropic Claude via WordPress Settings -> Connectors and generate up to 10 spec-aware product, category, or storewide FAQs in 1 click with zero token markups.
📋 On This Page (Jump to Section)
Product FAQ for WooCommerce integrates directly with WordPress’s official native AI Client & Connectors architecture (Settings → Connectors). Instead of forcing you into a third-party SaaS middleman subscription, you connect your own Google Gemini, OpenAI, or Anthropic Claude API key once in WordPress—including support for Google AI Studio Free-Tier Gemini keys.
Connecting Your AI Provider in WordPress #
- In your WordPress Admin menu, navigate to Settings → Connectors (available natively in WordPress 7.0+ or via the official WordPress AI Client).
- Select your preferred AI provider:
- Google Gemini: Paste your API key from Google AI Studio (supports fast, cost-effective models including
gemini-2.5-flashand Free-Tier fallback retry). - OpenAI: Paste your OpenAI platform key (
gpt-4o-mini/gpt-4o). - Anthropic Claude: Paste your Anthropic Console key (
claude-3-5-haiku/claude-3-7-sonnet).
- Google Gemini: Paste your API key from Google AI Studio (supports fast, cost-effective models including
- Save your Connector settings, then open Product FAQ → Settings → 🤖 AI Assistant.
- Verify that the WordPress AI Connection status badge displays Connected & Ready, and choose your Default Generation Tone (Helpful & Professional, Friendly & Conversational, Technical & Detailed, or Persuasive & Sales-Focused).
429 or 503) on a default model, Product FAQ’s AiEngine automatically retries across fallback Flash models so your FAQ generation succeeds smoothly.How WooCommerce Spec-Aware AI Prompts Work #
Generic AI tools hallucinate because they only read a product’s title. When you click ✨ Generate with AI inside Product FAQ for WooCommerce, AiEngine::buildProductContext() automatically inspects the live WC_Product object and enriches the AI prompt with real WooCommerce telemetry:
- Product Title, Short Description & Full Description (HTML-stripped and summarized for context accuracy).
- Live Pricing & Sale Status: Regular price, active sale price, currency symbol, and stock availability status (In Stock, Out of Stock, or On Backorder).
- Physical Shipping Specs: SKU, exact product Weight, and Dimensions (Length × Width × Height in your store’s configured units).
- Taxonomy Context: Assigned WooCommerce Product Categories and Product Tags.
- Product Attributes & Variations: Every visible attribute and variation option (e.g., Size: S, M, L, XL; Material: Brushed Stainless Steel; Voltage: 110V–240V).
Generating Single-Product FAQs with AI (Free & Pro) #
- Edit any WooCommerce product and open Product Data → FAQ.
- Click the ✨ Generate with AI button in the top toolbar.
- In the AI Generator modal, select:
- Number of FAQs to Generate: Choose
1,2,3,5, or10FAQs per batch (all unlocked in both Free and Pro!). - Focus / Custom Context (Optional): Add specific angle instructions such as “Focus on international voltage compatibility and 2-year warranty”.
- Number of FAQs to Generate: Choose
- Click Generate FAQs. Within seconds, the spec-aware Q&A pairs are appended directly into your product’s FAQ list where you can review, edit, or add HTML links before saving the product.
Pro: 1-Click Bulk Category, Tag, Brand & Storewide Shop AI Generator #
In addition to single-product AI generation, Pro unlocks an inline Bulk AI Toolbar inside Product FAQ → Bulk FAQ:
- Category, Tag & Brand AI Generation: Select any Product Category, Product Tag, or Custom Brand taxonomy term, pick a count (up to 10 FAQs at once) and copywriting tone, and click ✨ Auto-Generate with AI. The AI reads the taxonomy name, term description, and sample catalog context to craft category-wide buyer FAQs in one click.
- Main WooCommerce Shop Page (
/shop/) AI Generator (New in Pro v1.3.0): Select WooCommerce Shop Page (/shop/) as the target location and click ✨ Auto-Generate with AI to create storewide pre-sale FAQs covering shipping, payment security, returns, and order tracking for your main storefront archive.
Developer Filter: Customizing Max AI Batch Size #
Developers can customize the maximum allowed AI batch count using the woo_faq_ai_max_count filter in a child theme’s functions.php:
add_filter( 'woo_faq_ai_max_count', function( $max_count ) {
return 15; // Allow up to 15 AI FAQs per generation request
} );