Magento 2 AI Content Generator

Installation and User Guide for Magento 2 AI Content Generator

Table of Contents

  1. Installation

    • Download Extension

    • Installation via app/code

    • Installation via Composer

  2. Configuration Settings for AI Content Generator

    • General Settings

    • Product Settings

    • Category Settings

    • CMS Page Settings

  3. AI Content Generator Settings on Product Pages

    • Short Description

    • Description

    • Meta Title

    • Meta Description

    • Meta Keywords

  4. AI Content Generator Settings on Catgory Pages

    • Description

    • Meta Title

    • Meta Description

    • Meta Keywords

  5. AI Content Generator Settings on CMS Pages

    • Page Content

    • Meta Title

    • Meta Description

    • Meta Keywords

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.

  • Content Writing using Chat GPT - Set "Yes" to use ChatGPT to generate content and set "No" to configure Google Gemini to be used for content generation.

  • Chat GPT versions - Select the ChatGPT version from the available option that you want to use to generate content.

  • Chat GPT API Key - Enter the API key from Chat GPT (https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key)

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

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.

Last updated