Magento 2 AI Content Generator

Speed-up content production using the power of AI. Magento 2 AI Content Generator extension connects OpenAI's API with your store and helps you auto-generate content on the go!

Table of Content

  1. Extension Installation Guide
  2. Configuration
  3. Product Settings
  4. Category Settings
  5. CMS Settings
  6. Generating AI Content for Products
  7. Generating AI Content for Category Meta Data
  8. Generating AI Content for CMS Meta Data
  9. Mass content generation at once

 

  1. Extension Installation
    • For Magento Marketplace Customers
      • Find the Composer name and version of the extension in the extension’s composer.json file.
      • Login to your SSH and run:
      • composer require meetanshi/magento-2-ai-content-generator --ignore-platform-reqs
    • Enter your authentication keys. Your public key is your username; your private key is your password.
    • Wait for Composer to finish updating your project dependencies and make sure there aren’t any errors.
    • To verify that the extension installed properly, run the command:
      • php bin/magento module:status Meetanshi_ChatGPT --ignore-platform-reqs
          • By default, the extension is probably disabled.
          • Enable the extension and clear static view files:
      • php bin/magento module:enable Meetanshi_ChatGPT --clear-static-content
      • php bin/magento setup:upgrade
      • For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
      • For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
      • php bin/magento cache:flush
    • For Meetanshi Customers
      • Extract the zip folder and upload our extension to the root of your Magento 2 directory via FTP.
      • Login to your SSH and run below commands step by step:
        • php bin/magento setup:upgrade
        • For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
        • For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
        • php bin/magento cache:flush
  1. Configuration
    To configure the extension, log in to Magento backend, move to Stores à Configuration à AI Content Generator where you can find various settings to configure the extension.
  • AI Content Generator: Enable the AI Content Generator extension from here.
  • GPT API Key: Enter the API key for your desired GPT version that you received while registration with GPT.

  1. Product Settings
    The extension facilitates configuring the character limits settings for products while fetching the content automatically through AI. 
  • Meta Title Character Limit: Modify default prompt to set preferred product name, character limit, language and store name for meta title.
  • Meta Description Character Limit: Modify default prompt to set preferred product name, character limit, language and store name for meta descriptions.
  • Meta Keywords: Modify default prompt to set preferred product name, language and store name for meta keywords.
  • Short Description Character Limit: Modify default prompt to set preferred product name, character limit, language and store name to generate AI content for product short descriptions.

 

  1. Category Settings
    The extension facilitates configuring the character limits settings for categories while fetching the content automatically through AI. 
  • Meta Title Character Limit: Modify default prompt to set preferred character limit, language and store name for category pages’ meta title.
  • Meta Description Character Limit: Modify default prompt to set preferred category name, character limit, language and store name to generate category pages’ meta descriptions.
  • Meta Keywords: Modify default prompt to set preferred category name, language and store name to generate category pages’ meta keywords.
  • Short Description Character Limit: Modify default prompt to set preferred category name, character limit, language and store name to generate AI content for category page’s short descriptions.

 

   

 

  1. CMS Settings
    You can also configure the character limits settings for CMS pages while fetching the content automatically through AI. 
  • Meta Title Character Limit: Modify default prompt to set preferred page’s name, character limit, language and store name to generate CMS pages’ meta title.
  • Meta Description Character Limit: Modify default prompt to set preferred page name, character limit, language and store name to generate CMS pages’ meta description.
  • Meta Keywords: Modify default prompt to set preferred page’s name, language and store name to generate CMS pages’ meta keywords.
  • Short Description Character Limit: Modify default prompt to set preferred page name, character limit, language and store name to generate AI content for CMS page’s short descriptions.

  1. Generating AI Content for Products
    Move to Catalog > Products, select a product and click edit. Go to the Content tab and click on Short Description field. Switch to text editor mode and you can see buttons to fetch content automatically and using a custom prompt. Click “Fetch AI Content” to automatically fetch content based on the product title.

  • Fetch AI content using custom prompt
    Click on “AI Content Using Custom Prompt” and it will open a popup to enter the custom prompt. After adding the custom prompt, click “Fetch Content” to fetch the content based on the custom prompt entered.

  • Fetch AI Content for Product Description
    The extension facilitates fetching AI content for product long description (only if page builder is enabled) as well. You can generate You can generate SEO content with or without page builder. Let’s learn how to generate content with page builder.  Move to Catalog > Products, click to edit a product, move to Content tab and Description field, click “Edit with Page Builder” button, open the “HTML Code” under the “Elements” tab. Here, you can see both the “Fetch AI Content” and “AI Content Using Custom Prompt” buttons. You can follow the same steps as mentioned for short description above to fetch auto AI content or fetch AI content using custom prompt for the product description.

  • Fetch AI Content for Meta Title and Meta Description
    The admin can also fetch AI content for product meta data. Move to Catalog > Products, click to edit a product, move to Search Engine Optimization tab and you can see “Fetch AI Content” and “AI Content Using Custom Prompt” buttons. You can follow the same steps as mentioned for short description above to fetch auto AI content or fetch AI content using custom prompt for the category meta title, meta description and keywords.

 

  1. Generating AI Content for Category Meta Data
    Move to Catalog > Categories, select a category. move to Search Engine Optimization tab and you can see “Fetch AI Content” and “AI Content Using Custom Prompt” buttons. You can follow the same steps as mentioned for product short description above to fetch auto AI content or fetch AI content using custom prompt for the category meta title, meta description and meta keywords.

 

  1. Generating AI Content for CMS Meta Data
    Move to Content > Pages, select and edit a page. move to Search Engine Optimization tab and you can see “Fetch AI Content” and “AI Content Using Custom Prompt” buttons. You can follow the same steps as mentioned for product short description above to fetch auto AI content or fetch AI content using custom prompt for the page meta title, meta description and meta keywords.

  2. Mass Content Generation for multiple pages and products at once

Magento 2 AI Content Generator lets you quickly generate content for meta tags, product short descriptions, and page descriptions for multiple products, category pages and CMS pages collectively with mass action. Simply select the pages/products you wish to generate content for and navigate to Actions, select mass action (Generate meta title, keywords, description, short description or page description) and your selected pages/products would have AI generated SEO rich content ready and saved.