LogoLogo
  • Magento 2 Extensions
    • SEO Extensions
      • Magento 2 Canonical Urls for Category, Product, CMS, and Other pages
      • Magento 2 Advanced SEO Suite
      • Magento 2 Cross Linking SEO
      • Magento 2 Google Page Speed Optimizer
      • Magento 2 Google Site Map Exclusion
      • Magento 2 Alternate Hreflang Tags
      • Magento 2 Google Rich Snippets
      • Magento 2 SEO Unique Catalog URLs
    • Site Speed Extensions
      • Magento 2 Full Page Cache Warmer
      • Magento 2 Google Page Speed Optimizer
      • Magento 2 Image Optimizer
      • Magento 2 AJAX Infinite Scroll
      • Magento 2 Lazy Load Image
    • Marketing Extensions
      • Magento 2 How Did You Hear About Us
      • Magento 2 Free Shipping Bar
      • Magento 2 Product Scheduler
      • Magento 2 Apply Discount coupon Code Via Link
      • Magento 2 Dynamic Sale Catagory
      • Magento 2 Facebook Conversion and Audience Pixel Tracking
      • Magento 2 Google Dynamic Remarketing Tag
      • Magento 2 Perfect Audience Tracking
      • Magento 2 Product Feed
      • Magento 2 Cash Back Discount
      • Magento 2 Competition or Prize Draw with Social Booster
      • Magento2 Custom Options Discount
      • Magento 2 Product Label
    • Analytics & Tracking Extensions
      • Magento 2 Google Global Site Tag (gtag.js) with GA4(Google Analytics 4) Enabled
      • Magento 2 Google Enhanced Ecommerce Tracking
      • Magento 2 Google Tag Manager (GTM) GA4 Ecommerce Tracking
      • Magento 2 Google Tag Manager Tracking
      • Magento 2 missing orders or transactions in Google Analytics (GA)
      • Magento 2 Consent mode's setup guide
    • Payment and Shipping Extensions
      • Magento 2 Delivery Instructions and Delivery Date
      • Magento 2 Product Handling or Additional Fee
      • Magento 2 Surcharge or Additional Fee
      • Magento 2 Shipping Carrier Tracker
    • User Experience Extensions
      • Magento 2 How Did You Hear About Us
      • Magento 2 FAQ
      • Magento 2 Subcategory Grid/List Extension
      • Magento 2 Ajax Login and Add to Wishlist
      • Magento 2 Custom Stock Status Extension
      • Magento 2 Product Shelf Life
      • Magento 2 VAT Exemption
      • Magento 2 Cancel Order by Customer on the Frontend
      • Magento 2 Lazy Load Image
      • Magento 2 AJAX Infinite Scroll
      • Magento 2 Previously Ordered Products
      • Magento 2 Social Login
      • Magento 2 Substitute Products
      • Magento 2 Product 360 view
      • Magento 2 Product Reviews
    • Admin Extensions
      • Magento 2 Update Order Email Address
      • Magento 2 Admin Action Log
      • Magento 2 Ajax Login and Add to Wishlist
      • Magento 2 Custom Stock Status Extension
      • Magento 2 Product Shelf Life
      • Magento 2 Repeat Order
      • Magento 2 Associated or Linked Product Stock Update
      • Magento 2 VAT Exemption
      • Magento 2 Order Delete or Archive
      • Magento 2 Order Tagger
      • Magento 2 Subcategory Grid/List Extension
      • Magento 2 Advanced Reporting Extension
      • Magento 2 Export Custom Product Attribute
      • Magento 2 Advanced Admin Login Security
      • Magento 2 Admin Security Checklist
      • Magento 2 Security Suite
      • Magento 2 AI Content Generator
      • Magento 2 Content Security Policy (CSP) Whitelist Manager
      • Magento 2 OTP Login
      • Magento 2 Admin Account Switcher
    • Data & Privacy Extensions
      • Magento 2 Not On The High Street Integration
      • Magento 2 GDPR Compliance: Anonymisation of order data
      • Magento 2 Antispam Extension
    • Integration Extensions
      • Magento 2 Diamond Search
      • Magento 2 Not On The High Street Integration
      • Magento 2 Creditsafe Integration
    • Installation Via Composer
  • Magento 1 Extension
    • SEO Extensions
      • Magento SEO Unique Catalog URLs
      • Jquery Asynchronous Image Loader (JAIL)
      • Magento Image Optimizer
      • Canonical Urls for Category, Product and CMS pages
      • Google Site Map Exclusion with Image sitemap
      • Google Friendly SEO Layered Navigation
      • Magento Rich Snippets & Cards (schema.org)
      • Meta Information for Any Page
    • Marketing Extensions
      • Where Did You Hear About Us?
      • Google Tag Manager Tracking
      • Google AdWords Conversion Tracking
      • Order Follow Up or Review Booster
      • Competition or Prize Draw Module with Social Booster
      • Apply Discount Coupon Code via Link
      • Abandoned Basket Email Alert
      • Cash Back Discount
      • Dynamic Sale Category
    • Analytics & Tracking Extensions
      • Google AdWords Conversion Tracking
      • Google Adwords Dynamic Remarketing Tag
      • Facebook Conversion and Audience Pixel Tracking
      • Perfect Audience Tracking
      • Google Enhanced Ecommerce Tracking
      • Magento 1 / OpenMage GA4 Google Tag Manager (GTM)
      • Magento 1 Google Global Site Tag (gtag.js)
      • Magento 1 Consent mode's setup guide
      • Magento 1 Google Analytics Synchronization Extension
    • Payment and Shipping Extensions
      • Magento Delivery Instructions or Order Comments
      • Surcharge or Additional Fee
      • Magento Surcharge or Additional Fee on Payment Method or Countries
    • User Experience Extensions
      • Product Image Resize
      • Magento Delivery Instructions or Order Comments
      • Single Product Category Redirect
      • Testimonials
    • Admin Extensions
      • Admin Order Email
      • Magento Update Order Email Address
      • Product Review Administrator Notification Email
      • Automated Product Publish Date
      • Order Follow Up or Review Booster
      • Custom Variables Anywhere
      • Testimonials
    • Data & Privacy Extensions
      • EU Cookie Notification
      • Magento 1 GDPR Compliance: Anonymisation of order data
    • Site Speed Extensions
      • Product Image Resize
      • Jquery Asynchronous Image Loader (JAIL)
      • Magento Image Optimizer
Powered by GitBook
On this page
  • Installation and User Guide for Magento 2 AI Content Generator
  • Installation
  • Configuration Settings for AI Content Generator
  • AI Content Generator Settings on Product Pages
  • AI Content Generator Settings on Category Pages
  • AI Content Generator Settings on CMS Pages
  • Frontend
  • AI Content Generator API Logs

Was this helpful?

Export as PDF
  1. Magento 2 Extensions
  2. Admin Extensions

Magento 2 AI Content Generator

PreviousMagento 2 Security SuiteNextMagento 2 Content Security Policy (CSP) Whitelist Manager

Last updated 6 months ago

Was this helpful?

Installation and User Guide for Magento 2 AI Content Generator

Table of Contents

    • Download Extension

    • Installation via app/code

    • Installation via Composer

    • General Settings

    • Product Settings

    • Category Settings

    • CMS Page Settings

    • Short Description

    • Description

    • Meta Title

    • Meta Description

    • Meta Keywords

    • Description

    • Meta Title

    • Meta Description

    • Meta Keywords

    • 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.

  • 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.

  • Content Writing using Gemini - Set "Yes" to use Gemini to generate content. Please make sure "Content Writing using ChatGPT is set to "NO" to expose Gemini settings.

  • Gemini API version - Select the Gemini version from the available option that you want to use to generate content. (Gemini Pro and Gemini Flash)

  • Purge Log - Set "Yes" to enable purging of the log data in the database.

  • 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.

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:-

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 .

Chat GPT API Key - Enter the API key from Chat GPT ()

Gemini API Key - Enter the API key from Gemini ()

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 .

Installation Via Composer
support@scommerce-mage.com
https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key
https://ai.google.dev/gemini-api/docs/api-key
support@scommerce-mage.com
Installation
Configuration Settings for AI Content Generator
AI Content Generator Settings on Product Pages
AI Content Generator Settings on Catgory Pages
AI Content Generator Settings on CMS Pages
AI Content Generator API Logs