Installation
Before installing the extension, please make sure to Backup your web directory and store database
You will require to install MageDelight Base Extension first. If it is not installed then please download it from https://www.magedelight.com/pub/extensions/magedelight-base.zip and unzip the package file into the root folder of your Magento 2 installation.
Root Directory is - "app/code/magedelight/#YourExtensionName#"
- Unzip the extension package file into the root folder of your Magento 2 installation.
- Connect to SSH console of your server:
- Navigate to the root folder of your Magento 2 setup
Run command as per below sequence,
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:clean
- log out from the backend and log in again
If you are using Magento 2.3 or later then you do not need to activate license. Extension will be activated with silent activation mechanism and does not require activation keys to be entered manually.
Backend Configuration (Admin side)
| Field | Description |
|---|---|
| Enable AI Content Generator | Enables or disables the AI Content Generator module. When set to Yes, the extension becomes active and available for use. |
| AI Service Provider | Let you choose the content generation provider. You can either use your own OpenAI API key or an external AI service if available. |
| OpenAI API Key | The secret key is required when using OpenAI as the provider. This key is obtained from the OpenAI platform allows the extension to generate content. |
| OpenAI Model | Determines which AI model will be used for generating content. • GPT-4.5 – Strongest model for chat |
| Creativity Level (Temperature) | Controls the creativity of generated content. The value ranges from 0 to 1 (default: 0.7). Lower values create more consistent results, while higher values produce more diverse and creative text. |
| Test Connection | Allows you to test whether the system can successfully connect to the OpenAI API using the provided the key and selected settings. |
| Field | Description |
|---|---|
| Enable AI Content Generator | Enables or disables the AI Content Generator module. When set to Yes, the extension becomes active and available for use. |
| AI Service Provider | Let you choose the content generation provider. In this case, Google Gemini is selected as the provider. |
| Google Gemini API Key | The secret key is required when using Google Gemini as the provider. This key is obtained from the Google AI Studio (https://aistudio.google.com/app/apikey). |
| Gemini Model | Determines which Gemini model will be used for generating content. Available options include: • Gemini 2.5 Pro – Most capable with thinking • Gemini 2.5 Flash – Best price-performance • Gemini 2.5 Flash-Lite – Most cost-efficient • Gemini 2.0 Flash – Production ready • Gemini 2.0 Flash-Lite – Cost optimised • Gemini 2.0 Pro – Experimental, best for coding • Gemini 1.5 Flash – Fast & efficient • Gemini 1.5 Pro – Advanced • Gemini 1.0 Pro – Legacy |
| Creativity Level (Temperature) | Controls the creativity of generated content. The value ranges from 0 to 1 (default: 0.7). Lower values create more predictable results, while higher values generate more diverse and creative text. |
| Test Connection | Allows you to test whether the system can successfully connect to the Google Gemini API using the provided key and selected settings. |
| Field | Description |
|---|---|
| Enable AI Content Generator | Select Yes to activate the AI Content Generator module globally. Select No to disable it. |
| AI Service Provider | Select the AI provider to be used for content generation. For example, choose Anthropic Claude. |
| Anthropic Claude API Key | Enter the API key obtained from your Anthropic Console. This key is required to authenticate and enable secure communication with Claude models. |
| Claude Model | Select the Claude model for content generation from the dropdown list: • Claude Sonnet 4 (Latest – Smart & Efficient): Balanced, smart, and optimized for most use cases. • Claude Opus 4 (Most Capable): The most advanced model, recommended for complex or nuanced content. • Claude 3.5 Sonnet: Balanced performance between speed and quality, suitable for product descriptions and SEO. • Claude 3.5 Haiku (Fast & Efficient): Lightweight, fastest option for bulk or short content. • Claude 3 Opus: Strong reasoning ability within the Claude 3 family. • Claude 3 Sonnet: General-purpose model for balanced content tasks. • Claude 3 Haiku: Efficient model for simpler, cost-effective content generation. • Claude 2.1 (Legacy): Older stable release, maintained for backward compatibility. • Claude 2.0 (Legacy): Legacy model, least capable, retained for historical support. |
| Creativity Level (Temperature) | Enter a value between 0 and 1. Lower values (e.g., 0.2–0.4) generate more focused and deterministic text. Higher values (e.g., 0.8–1.0) generate more creative and diverse text. The default is 0.7. |
| Test Connection | Click Test Connection to verify that the API key and selected Claude model are configured correctly and the service is accessible. |
Backend Functionality
Manage Prompt Templates
- The Manage Prompt Template section of the Magento 2 admin panel. You can access it via the path: MageDelight → AI Content Generator → Manage Prompt Template.
- In this section, the admin can view, add, and manage AI prompt templates used for generating product and content descriptions. At the top, there is an “Add New Template” button, which allows you to create new prompt templates. Below that, a grid displays the list of existing templates along with key details.
| Field | Description |
|---|---|
| ID | Displays the unique identifier for the prompt template. |
| Template Code | Shows the internal system code used to reference the template (e.g., product_short_default). |
| Template Name | Provides the descriptive name of the template (e.g., Default Product Short Description). |
| Content Type | Indicates the type of content associated with the template (e.g., product_short_description). |
| Entity Type | Defines the entity to which the template applies, such as a product. |
| Status | Displays whether the template is active (Yes) or inactive (No). |
| Is Default | Indicates if the template is set as the default for the specific content type. |
| Sort Order | Determines the sequence in which templates are listed when multiple are available. |
| Created At | Shows the date and time when the template was originally created. |
| Updated At | Shows the date and time when the template was last modified. |
| Action | Provides options (via the Select dropdown) to edit, duplicate, or delete the template. |
Add New Templates
| Field | Description |
|---|---|
| Template Code | Enter a unique identifier for the template. Use only letters, numbers, and underscores (e.g., product_meta_title_default). |
| Template Name | Enter a descriptive name for the template (e.g., Default Product Meta Title). This is used for easier identification by administrators. |
| Content Type | Select the type of content this template will generate (e.g., Meta Title). Options may include Meta Title, Meta Description, Product Short Description, etc. |
| Entity Type | Specify the entity to which the template applies (e.g., product). Other valid values could include category, cms_page, or pagebuilder. |
| Is Active | Toggle Yes to activate the template, making it available for use. Toggle No to deactivate it. |
| Is Default Template | Toggle Yes to mark this template as the default for the selected content type and entity. This template will be applied automatically if no other template is specified. |
| Content Length (Max Tokens) | Define the maximum number of tokens (words/characters processed by AI) allowed for generated content. Example: 40. |
| Sort Order | Enter a numeric value to control the display order of templates. Lower values appear higher in the list. Example: 10. |
| Field | Description |
|---|---|
| Description | Enter an internal description for the template to help administrators understand its purpose. Example: Default template for product meta title. |
| Template Content | Define the actual content structure or prompt that the AI will use for generation. Variables can be inserted within curly braces (e.g., on: product name – "{{product.name}}". |
| Available Variables | A list of predefined variables that can be used within the template content. Each variable dynamically pulls data from the Magento entity (product, category, CMS, etc.) when generating content. |
Generate Product
Generate Product SEO Data
- Navigate to Catalog → Products → Select Product (e.g., Joust Duffle Bag) → Search Engine Optimization.
| Field | Description |
|---|---|
| URL Key | Enter a custom URL identifier for the product (e.g., joust-duffle-bag). This defines the product’s SEO-friendly URL. |
| Meta Title | Enter a title for the product page manually (e.g., Joust Duffle Bag | Durable Travel & Sports Gear | Free Shipping) or click the AI Meta Title button to generate a title automatically using the AI Content Generator. The meta title is displayed in search engine results and should include important keywords. |
| Meta Keywords | Enter keywords relevant to the product manually, separated by commas (e.g., duffle bag, sports bag, gym bag). These are legacy SEO elements but still supported. Alternatively, click the AI Keywords button to generate keyword suggestions automatically using AI. |
| Meta Description | Enter a description for the product page manually. Recommended length is 150–160 characters (maximum allowed is 255). This text is used by search engines in product listings. Alternatively, click the AI Meta Description button to generate an optimized description automatically using AI. |
Generate Product
- Navigate to Catalog → Products → Select Product (e.g., Joust Duffle Bag) → Description → Edit with Page Builder → Generate with AI.
Generate Product Short
- Navigate to Catalog → Products → Select Product (e.g., Joust Duffle Bag) → Content → Generate Short Description.
| Field | Description |
|---|---|
| Content Type | Displays the type of content being generated (e.g., Product Short Description). This is set automatically based on the action performed. |
| Entity | Shows the product or entity for which the content will be generated (e.g., Joust Duffle Bag). |
| Content Tone | Select the tone of the generated content from the dropdown list. Available options are: • Professional – Polished and business-like. • Friendly – Warm and approachable style. • Casual – Relaxed, everyday language. • Formal – Strict, precise, and authoritative. • Enthusiastic – Energetic and lively tone. • Informative – Clear, fact-driven writing. • Persuasive – Convincing and sales-oriented. |
| Prompt Template | Choose how the AI should use prompts for generation. Options include: • Select a template: Enter a custom prompt – Allows you to manually provide a custom prompt. • Default Product Short Description – Uses the pre-defined system template for short product descriptions. |
| Custom Prompt | Enter or edit a custom AI prompt if you want to override the default template. Variables such as {{product.name}} are automatically replaced with actual product data during generation. |
| Generate Content | Click this button to generate content based on the selected tone, template, or custom prompt. |
| Cancel | Click to close the pop-up without generating any content. |
Generate Category
Generate Category SEO Data
- Navigate to Catalog → Categories → Select Category (e.g., Gear) → Search Engine Optimization.
| Field | Description |
|---|---|
| Meta Title | Enter the SEO title for the category manually, or click AI Meta Title to generate it automatically using the AI Content Generator. |
| Meta Keywords | Enter relevant SEO keywords for the category manually, or click AI Keywords to generate keyword suggestions automatically using AI. |
| Meta Description | Enter the SEO description for the category manually. Recommended length is 150–160 characters. Alternatively, click AI Meta Description to generate an optimized description automatically using AI. |
- The following pop-up will appear after clicking on any AI button
| Field | Description |
|---|---|
| Content Type | Displays the type of content being generated (e.g., Meta Title). This is automatically set based on the AI button clicked. |
| Entity | Shows the category or entity for which the content will be generated (e.g., Gear). |
| Content Tone | Select the tone of the generated content from the dropdown list. Available options are: • Professional – Polished and business-like. • Friendly – Warm and approachable style. • Casual – Relaxed, everyday language. • Formal – Strict, precise, and authoritative. • Enthusiastic – Energetic and lively tone. • Informative – Clear, fact-driven writing. • Persuasive – Convincing and sales-oriented. |
| Prompt Template | Choose how to guide the AI generation. Options include: • Select a template – Pick a predefined template if available. • Enter a custom prompt – Write your own instructions manually. |
| Custom Prompt | Enter or edit a custom prompt for AI content generation. If a template is selected, it will load automatically here and can be customized further. |
| Generate Content | Click this button to generate content based on the chosen tone, template, or custom prompt. |
| Cancel | Click to close the popup without generating any content. |
Generate Category
- Navigate to Catalog → Categories → Select Category (e.g., Gear) → Content → Description → Edit with Page Builder.
| Field | Description |
|---|---|
| Enable Category | Toggle Yes to activate the category on the storefront. Toggle No to disable it. |
| Include in Menu | Toggle Yes to include the category in the main navigation menu. Toggle No to hide it from the menu. |
| Category Name | Enter the display name for the category (e.g., Gear). This name will appear on the storefront. |
| Category Image | Upload or select an image to represent the category. Supported file types: JPG, GIF, PNG. Maximum file size: 2 MB. |
| Description | Enter a category description using HTML, CSS, or JavaScript code. Alternatively, click Edit with Page Builder to create and format the description visually. |
| Add CMS Block | Select a static CMS block to display additional content within the category page. |
Generate CMS Page
Generate CMS Page SEO Data
- Navigate to Content → Pages → Select Page(e.g., Privacy Policy) → Search Engine Optimization, then click on the AI button to add the meta title, keywords and description.
Generate CMS Page
- Navigate to Content → Pages → Select Page(e.g., Privacy Policy) → Content-> Description -> Edit with Page Builder, then click on the "Generate with AI" button to add the page content.
- The following pop-up will appear:
| Field | Description |
|---|---|
| Content Type | Displays the type of content being generated (e.g., PageBuilder Content). This is set automatically based on the action performed. |
| Entity | Shows the page or entity for which the content will be generated (e.g., Privacy Policy). |
| Content Tone | Select the tone of the generated content from the dropdown list. Available options are: • Professional – Polished and business-like. • Friendly – Warm and approachable style. • Casual – Relaxed, everyday language. • Formal – Strict, precise, and authoritative. • Enthusiastic – Energetic and lively tone. • Informative – Clear, fact-driven writing. • Persuasive – Convincing and sales-oriented. |
| Prompt Template | Select a predefined prompt template to use for content generation (e.g., Default CMS Page Description). |
| Custom Prompt | Enter or edit a custom AI prompt. Template variables are automatically replaced with actual entity data during generation. For example, prompts can include content guidelines, token limits, and tone adjustments. |
| Generate Content | Click this button to generate the content using AI based on the chosen tone, template, or custom prompt. |
| Cancel | Click to close the pop-up without generating any content. |
Bulk AI Content Generation
- Navigate to MageDelight → AI Content Generator → Bulk AI Content Generation. Here you can generate content for multiple products at once by uploading a CSV file.
| Field / Button | Description |
|---|---|
| Download Sample CSV | Click to download a sample CSV template. The file contains the correct structure for entering product SKUs. |
| CSV File (Upload) | Upload a CSV file containing product SKUs. The first column must contain SKUs. Maximum file size is 5 MB. |
| Prompt Template | Select a predefined prompt template to be used for bulk content generation. Available options include: • Default Product Description • Default Product Meta Description • Default Product Meta Keywords • Default Product Meta Title • Default Product Short Description |
| Content Types | Choose the type of content to generate. Available options include: • Product Short Description • Product Meta Keyword • Meta Title • Meta Description • Meta Keywords • Description |
| Store View | Select the store view for which the content should be generated (e.g., All Store Views or a specific store view). |
| Overwrite Existing Content | Toggle Yes to overwrite existing content with newly generated AI content. Toggle No to keep existing content unchanged. |
| Batch Size | Enter the number of products to process at once. Allowed range is 1–50. |
| Start Bulk Generation | Click this button to begin the bulk content generation process based on the uploaded CSV and selected settings. |
Bulk AI Complete Content Generation
- Navigate to MageDelight → AI Content Generator → Bulk AI Complete Content Generation. Here you can generate complete product content (titles, descriptions, meta fields, etc.) in bulk by uploading a CSV file with SKUs.
| Field / Button | Description |
|---|---|
| Download Sample CSV | Click to download a sample CSV file. The file shows the required format, where the first column must contain product SKUs. |
| CSV File (Upload) | Upload a CSV file containing product SKUs. The system will use these SKUs to generate complete product content. Maximum file size is 5 MB. |
| Store View | Select the store view where the generated content will apply (e.g., Default Store View or a specific store view). |
| Overwrite Existing Content | Toggle Yes to allow the generated AI content to overwrite existing product content. Toggle No to retain current content and only fill in missing fields. |
| Batch Size | Specify the number of products to process at one time. The allowed range is 1–50. |
| Start Complete Generation | Click this button to begin generating the complete product content in bulk for the uploaded SKUs. |
Frontend Functionality
Product Page – Frontend AI Content Usage
The Joust Duffle Bag product page demonstrates how AI-generated content appears to customers on the storefront.
Product Title & Pricing
The product name (Joust Duffle Bag) and price ($34.00) are standard Magento attributes, not AI-driven, but they can be enhanced with AI-generated metadata in the backend for SEO.Product Description (Details Tab)
The descriptive text under the Details section (e.g., “The sporty Joust Duffle Bag can’t be beat…”) is created using the AI Content Generator.Path: Catalog → Products → Description → Edit with Page Builder → Generate with AI.
AI ensures descriptions are engaging, clear, and enriched with product-specific attributes like handles, shoulder strap, zipper, and dimensions.
Structured Features (Bullet Points)
Product specifications such as Dual top handles, Adjustable shoulder strap, Full-length zipper, Dimensions are automatically included by AI through product attribute variables or custom prompt instructions. This ensures consistency and detail in product descriptions.SEO Metadata (Influencing Frontend & Search Engines)
Fields like Meta Title, Meta Keywords, and Meta Description are generated in the backend via Search Engine Optimization → AI Meta Title / AI Keywords / AI Meta Description buttons. While not directly shown on the page, they determine how the product appears in search results.Customer Reviews Section
The Reviews tab remains standard Magento functionality but works alongside AI-generated descriptions to provide a complete customer experience.Overall Experience
By combining AI-generated descriptions, attributes, and SEO metadata, the product page becomes informative, SEO-friendly, and customer-focused, reducing manual content creation while ensuring consistency across the storefront.
Demo
Click here to visit the frontend.
Click here to visit the backend admin panel.
Thank you for choosing MageDelight!

















