Magento 2 AI Content Generator
Installation and User Guide for Magento 2 AI Content Generator
Table of Contents
- Installation
- Download Extension
- Installation via app/code
- Installation via Composer
- Configuration Settings for AI Content Generator
- General Settings
- Product Settings
- Category Settings
- CMS Page Settings
- AI Content Generator Settings on Product Pages
- Short Description
- Description
- Meta Title
- Meta Description
- Meta Keywords
- AI Content Generator Settings on Catgory Pages
- Description
- Meta Title
- Meta Description
- Meta Keywords
- AI Content Generator Settings on CMS Pages
- Page Content
- Meta Title
- Meta Description
- Meta Keywords
- AI Content Generator API Logs
Installation
-
Download Extension: Once you have placed the order from our site then go to My Account section and click on My Downloadable Products and download the extension package.
-
Installation via app/code: Upload the content of the module to your root folder. This will not overwrite the existing Magento folder or files, only the new contents will be added. After the successful upload of the package, run below commands on Magento 2 root directory.
composer require orhanerday/open-ai php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy en_GB en_US -
Installation via Composer: Please follow the guide provided in the below link to complete the installation via composer.
Configuration Settings for AI Content Generator
Go to Admin > Stores > Configuration > Scommerce Configuration > AI Content Generator
General Settings
-
Enabled – Select "Yes" or "No" to enable or disable the module.
-
License Key – Please add the license for the extension which is provided in the order confirmation email. Please note license keys are site URL specific. If you require license keys for dev/staging sites then please email us at support@scommerce-mage.com.
Chat GPT
-
AI Service - Please select the AI Service from the dropdown "ChatGPT".
-
Chat GPT versions - Please select the Chat GPT versions from the dropdown "ChatGPT3.5".
-
Chat GPT API key- Please enter the Chat GPT API key.
-
Retention Days - Define the retention days for the logs that are kept in the database.
-
Cron Job - Define Cron schedule for purging of the log data.
- Purge Log - Select 'Yes' to enable purging of log data in the database
Gemini
-
AI Service - Please select the AI Service from the dropdown "Gemini".
-
Gemini API version - Please select the Gemini API version from the dropdown "Gemini Flash".
-
Gemini API key- Please enter the Gemini API key.
-
Retention Days - Define the retention days for the logs that are kept in the database.
-
Cron Job - Define Cron schedule for purging of the log data.
- Purge Log - Select 'Yes' to enable purging of log data in the database
Groq
-
AI Service - Please select the AI Service from the dropdown
-
Groq Versions - Please add the Groq versions. The AI will generate content based on the selected version. Choose 'Custom' to enter a custom value
-
Groq API Key - Enter the API key from Groq (https://console.groq.com/)
-
Retention Days - Define the retention days for the logs that are kept in the database.
-
Cron Job - Define Cron schedule for purging of the log data.
- Purge Log - Select 'Yes' to enable purging of log data in the database
Note:- Switch store view or website to expose the settings below:-
Product Settings
- Meta Title Character Prompt– Add the prompt for Meta Title on product pages. This prompt setting will be used to extract AI generated content from either ChatGPT or Google Gemini for Product Meta Title. This data can be overwritten or custom prompt can be used at the product level. Google recommendation for Meta title limit is up to 70 characters.
- Meta Description Prompt – Add the prompt for Meta Description on product pages. This prompt setting will be used to extract AI generated content from either ChatGPT or Google Gemini for Product Meta Description. This data can be overwritten or custom prompt can be used at the product level. Google recommendation for Meta Description limit is up to 160 characters.
- Meta Keywords Prompt– Add the prompt for Meta Keywords on product pages. This prompt setting will be used to extract AI generated content from either ChatGPT or Google Gemini for Product Meta Keywords. This data can be overwritten or custom prompt can be used at the product level. Google recommendation for Meta keyword limit is up to 10 keyword phrases or 160 characters.
- Short Description Prompt – Add the prompt for Short Description on product pages. This prompt setting will be used to extract AI generated content from either ChatGPT or Google Gemini for Product Short Description Title. This data can be overwritten or custom prompt can be used at the product level. Google recommendation for Short Description is up to 200 words.
- Product Description Prompt – Add the prompt for Product Description on product pages. This prompt setting will be used to extract AI generated content from either ChatGPT or Google Gemini for Product Description. This data can be overwritten or custom prompt can be used at the product level. Google recommendation for Page Description limit is up to 3600 characters.
Category Settings
- Meta Title Character Prompt– Add the prompt for Meta Title on category pages. This prompt setting will be used to extract AI generated content from either ChatGPT or Google Gemini for Category Meta Title. This data can be overwritten or custom prompt can be used at the category level. Google recommendation for Meta title limit is up to 70 characters.
- Meta Description Prompt – Add the prompt for Meta Description on category pages. This prompt setting will be used to extract AI generated content from either ChatGPT or Google Gemini for Category Meta Description. This data can be overwritten or custom prompt can be used at the category level. Google recommendation for Meta Description limit is up to 160 characters.
- Meta Keywords Prompt– Add the prompt for Meta Keywords on category pages. This prompt setting will be used to extract AI generated content from either ChatGPT or Google Gemini for Category Meta Keywords. This data can be overwritten or custom prompt can be used at the category level. Google recommendation for Meta keyword limit is up to 10 keyword phrases or 160 characters.
- Category Description Prompt – Add the prompt for Category Description on category pages. This prompt setting will be used to extract AI generated content from either ChatGPT or Google Gemini for Category Page Description. This data can be overwritten or custom prompt can be used at the category level. Google recommendation for Page Description limit is up to 3600 characters.
CMS Page Settings
- Meta Title Character Prompt– Add the prompt for Meta Title on CMS Pages. This prompt setting will be used to extract AI generated content from either ChatGPT or Google Gemini for Content Meta Title. This data can be overwritten or custom prompt can be used at the CMS page level. Google recommendation for Meta title limit is up to 70 characters.
- Meta Description Prompt – Add the prompt for Meta Description on CMS Pages. This prompt setting will be used to extract AI generated content from either ChatGPT or Google Gemini for Content Meta Description. This data can be overwritten or custom prompt can be used at the CMS page level. Google recommendation for Meta Description limit is up to 160 characters..
- Meta Keywords Prompt– Add the prompt for Meta Keywords on CMS Pages. This prompt setting will be used to extract AI generated content from either ChatGPT or Google Gemini for Content Meta Keywords. This data can be overwritten or custom prompt can be used at the CMS page level. Google recommendation for Meta keyword limit is up to 10 keyword phrases or 160 characters.
- Page Content Prompt – Add the prompt for CMS pages content. This prompt setting will be used to extract AI generated content from either ChatGPT or Google Gemini for Content Page Description. This data can be overwritten or custom prompt can be used at the CMS Page level. Google recommendation for Page Description limit is up to 3600 characters.
AI Content Generator Settings on Product Pages
AI content generator works with the following fields on the product pages. Go to Admin>Catalog>Product and then select any product.
Short Description
Click on Fetch Content and Based on the prompt set in the configuration the content is generated and populated automatically into this field.
In case you want to add a custom prompt for this product simply click on AI Content Using Custom Prompt and add your prompt then when you click Fetch Content the content is generated based on your custom prompt.
Description
Edit the description with page builder and when add a HTML element the AI Content Generator options are present. Click on Fetch Content and Based on the prompt set in the configuration the content is generated and populated automatically into this field. In case you want to add a custom prompt for this product simply click on AI Content Using Custom Prompt and add your prompt then when you click Fetch Content the content is generated based on your custom prompt.
Meta Title
Go to Product settings>Search Engine Optimization. Click on Fetch Content below Meta Title and based on the prompt set in the configuration the content is generated and populated automatically into this field. In case you want to add a custom prompt for this product simply click on AI Content Using Custom Prompt and add your prompt then when you click Fetch Content the content is generated based on your custom prompt.
Meta Description
Go to Product settings>Search Engine Optimization. Click on Fetch Content below Meta Description and based on the prompt set in the configuration the content is generated and populated automatically into this field. In case you want to add a custom prompt for this product simply click on AI Content Using Custom Prompt and add your prompt then when you click Fetch Content the content is generated based on your custom prompt.
Meta Keywords
Go to Product settings>Search Engine Optimization. Click on Fetch Content below Meta Keywords and based on the prompt set in the configuration the content is generated and populated automatically into this field. In case you want to add a custom prompt for this product simply click on AI Content Using Custom Prompt and add your prompt then when you click Fetch Content the content is generated based on your custom prompt.
AI Content Generator Settings on Category Pages
Description
Edit the description with page builder and when add a HTML element the AI Content Generator options are present. Click on Fetch Content and Based on the prompt set in the configuration the content is generated and populated automatically into this field. In case you want to add a custom prompt for this product simply click on AI Content Using Custom Prompt and add your prompt then when you click Fetch Content the content is generated based on your custom prompt.
Meta Title
Go to Category settings>Search Engine Optimization. Click on Fetch Content below Meta Title and based on the prompt set in the configuration the content is generated and populated automatically into this field. In case you want to add a custom prompt for this product simply click on AI Content Using Custom Prompt and add your prompt then when you click Fetch Content the content is generated based on your custom prompt.
Meta Description
Go to Category settings>Search Engine Optimization. Click on Fetch Content below Meta Description and based on the prompt set in the configuration the content is generated and populated automatically into this field. In case you want to add a custom prompt for this product simply click on AI Content Using Custom Prompt and add your prompt then when you click Fetch Content the content is generated based on your custom prompt.
Meta Keywords
Go to Category settings>Search Engine Optimization. Click on Fetch Content below Meta Keywords and based on the prompt set in the configuration the content is generated and populated automatically into this field. In case you want to add a custom prompt for this product simply click on AI Content Using Custom Prompt and add your prompt then when you click Fetch Content the content is generated based on your custom prompt.
AI Content Generator Settings on CMS Pages
Page Content
Edit the content with page builder and when add a HTML element the AI Content Generator options are present. Click on Fetch Content and Based on the prompt set in the configuration the content is generated and populated automatically into this field. In case you want to add a custom prompt for this product simply click on AI Content Using Custom Prompt and add your prompt then when you click Fetch Content the content is generated based on your custom prompt.
Meta Title
Go to Page settings>Search Engine Optimization. Click on Fetch Content below Meta Title and based on the prompt set in the configuration the content is generated and populated automatically into this field. In case you want to add a custom prompt for this product simply click on AI Content Using Custom Prompt and add your prompt then when you click Fetch Content the content is generated based on your custom prompt.
Meta Description
Go to Page settings>Search Engine Optimization. Click on Fetch Content below Meta Description and based on the prompt set in the configuration the content is generated and populated automatically into this field. In case you want to add a custom prompt for this product simply click on AI Content Using Custom Prompt and add your prompt then when you click Fetch Content the content is generated based on your custom prompt.
Meta Keywords
Go to Page settings>Search Engine Optimization. Click on Fetch Content below Meta Keywords and based on the prompt set in the configuration the content is generated and populated automatically into this field. In case you want to add a custom prompt for this product simply click on AI Content Using Custom Prompt and add your prompt then when you click Fetch Content the content is generated based on your custom prompt.
Frontend
AI content generator generates content on all Category, Product, CMS Pages. Please check some of the frontend screengrabs of the generated content:-
Product Pages
Category Pages
CMS Pages
Meta Keywords
AI Content Generator API Logs
Go to Scommerce AI Content Generator>API Logs to view logs of each API request used by AI content Generator.
The grid contains request response and the AI engine used:-
If you have a question related to this extension please check out our FAQ Section first. If you can't find the answer you are looking for then please contact support@scommerce-mage.com.



























