Product Generator Configuration
Learn how to configure Product Generator according to your team's needs
Product Generator Configuration
Product Generator allows you to completely customize which fields to display and how they work according to your team's needs.
Accessing Configuration
Configuration is located at:
Team Settings → Product Generator
From here you can customize all aspects of the generator.
Configurable Fields
Product Generator includes 14 configurable fields that you can enable or disable:
Main Fields
- title (Product Title): Required field by default to identify the product
- description (Description): Initial product description
- template (Template): Selection of predefined template
Additional Fields
- sku (SKU): Unique product code
- brand (Brand): Product brand
- category (Category): Product category
- price (Price): Manual price
- weight (Weight): Product weight
- dimensions (Dimensions): Physical dimensions
- color (Color): Product color
- size (Size): Size or dimensions
- material (Material): Construction material
- warranty (Warranty): Warranty information
- origin_country (Country of Origin): Manufacturing country
Field Configuration
For each field you can configure:
Enabled/Disabled
{
enabled: true, // Show the field in the form
required: false, // Make the field mandatory
label: "Brand" // Custom label
}
Configuration Options
- enabled: Whether the field appears in the form
- required: Whether the field is mandatory when generating
- label: Custom text for the field label
General Settings
Available Options
- show_advanced_options: Show advanced options in the form
- auto_generate_sku: Generate SKU automatically
- require_all_enabled: Require all enabled fields
- default_language: Default language for generation
Default Configuration
The initial configuration includes:
- ✅ title: Enabled and required
- ✅ description: Enabled but not required
- ✅ template: Enabled but not required
- ❌ All other fields: Disabled
Configuration Example
{
"fields": {
"title": {
"enabled": true,
"required": true,
"label": "Product Title"
},
"brand": {
"enabled": true,
"required": false,
"label": "Product Brand"
},
"category": {
"enabled": true,
"required": true,
"label": "Category"
}
},
"settings": {
"show_advanced_options": true,
"auto_generate_sku": false,
"require_all_enabled": false,
"default_language": "en"
}
}
Persistence
Configuration is saved at the team level (account_id), which means:
- Each team has its own configuration
- Changes affect all team members
- Configuration persists in the database
Required Environment Variables
For Product Generator to work correctly, you need to configure:
# Product API (Required) PRODUCT_API_BASE_URL=https://t2ai.onrender.com PRODUCT_API_USERNAME=your_username PRODUCT_API_PASSWORD=your_password # OpenAI API (Required for text generation) OPENAI_API_KEY=your_openai_key # AI Model (optional, defaults to gpt-4o-mini) LLM_MODEL_NAME=gpt-4o-mini