Skip to content

AI Product Descriptions

The AI product descriptions module enables automatic generation of WooCommerce product descriptions using any OpenAI-compatible API. The descriptions are optimized for SEO and tailored to the chosen tone of communication.

  1. The administrator opens the WooCommerce product edit screen
  2. In the “AI Descriptions” meta box, they select a generation target and tone
  3. The plugin sends the product context to the API
  4. The generated text appears in the meta box for preview
  5. The administrator accepts or edits the text before saving

Enable AI Descriptions in Polski > Modules.

The settings are stored in the option:

polski_pro_ai_descriptions
Setting Description Default
API key Authorization key for the API -
API URL The chat/completions endpoint https://api.openai.com/v1/chat/completions
Model The AI model used for generation gpt-4o-mini
Max tokens Maximum response length 1024
Setting Description Default
Tone Communication style professional
Language Language of generated descriptions pl
SEO keywords Include keywords in the description Yes
Custom prompt Additional instructions for the AI model -
Tone Description
professional Formal, matter-of-fact business style
casual Friendly, conversational style
persuasive Convincing, sales-oriented
technical Detailed, technical description of specifications
luxurious Exclusive, aspirational premium style

The meta box on the product edit screen lets you choose what text should be generated:

Target Description
Full description The main product description (post_content)
Short description The product excerpt (post_excerpt)
SEO title The meta title for search engines
SEO meta description The meta description for search engines

SEO titles and descriptions are automatically saved in the fields of the relevant SEO plugin (Yoast SEO or RankMath).

The module detects the installed SEO plugin and saves the generated data in the appropriate meta fields:

  • SEO title saved in _yoast_wpseo_title
  • SEO meta description saved in _yoast_wpseo_metadesc
  • SEO title saved in rank_math_title
  • SEO meta description saved in rank_math_description

If no SEO plugin is active, the options for generating the SEO title and meta description are unavailable.

With each generation request, the plugin sends the following product data to the API:

  • Product name - the product title
  • SKU - the catalog number
  • Price - the regular and sale price
  • Categories - the list of product categories
  • Attributes - all attributes and their values
  • Existing descriptions - the current full and short description (if they exist)

This data allows the AI model to generate an accurate and contextually correct description.

The module supports generating descriptions for multiple products at once:

  1. Go to Products > All Products
  2. Select the products to generate for
  3. From the “Bulk actions” list, choose Generate AI descriptions
  4. Choose the generation target and tone
  5. Click “Apply”

Bulk generation runs asynchronously via AJAX, each product is processed separately, and a progress bar shows the operation status. This helps avoid exceeding the server time limit with a large number of products.

  • Each task is a separate API call
  • You should account for the API service’s rate-limiting limits
  • With a large number of products, generation may take several minutes

Generating a description for a single product

Section titled “Generating a description for a single product”
  1. Open the product edit screen
  2. Scroll to the AI Descriptions meta box
  3. Choose the target: “Full description”
  4. Choose the tone: “persuasive”
  5. Click Generate
  6. Review the generated text
  7. Click Insert into description to move the text to the editor

If you use a local LLM model or another provider:

  1. Change the API URL to your endpoint’s address (it must be compatible with the OpenAI chat/completions format)
  2. Set the appropriate Model (a model name recognized by your endpoint)
  3. Provide the API key (if required by your endpoint)

The module is controlled by a toggle in the PRO module settings:

Polski > Modules > AI Descriptions

Product copy you apply from this module is treated as AI-generated content. When you apply generated text to a product’s description or short description, the plugin:

  • records a machine-readable marker on the product (_polski_ai_generated), and
  • shows a short disclosure and a hidden data-ai-generated marker on the single-product page.

An AI Act art. 50 badge also appears in the AI Descriptions meta box once a product is marked.

The on-page disclosure is controlled by a single option, on by default, in the free plugin’s AI settings:

WooCommerce > Settings > Polski > AI features > Label AI-generated content

Turning it off keeps the machine-readable record on the product but removes the storefront note. SEO title and meta description targets are not flagged, because they are not rendered as visible product copy.

This page is for informational purposes only and does not constitute legal advice. Polski PRO for WooCommerce is commercial software provided without warranty.