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)



FieldDescription
Enable AI Sentiment AnalysisSelect "Yes" to activate the AI Sentiment Analysis extension and start analyzing customer reviews automatically.
AI Service ProviderChoose your preferred AI provider for sentiment analysis. You can select either Google Gemini or OpenAI GPT based on your integration.
Google Gemini API KeyEnter your Google Gemini API key here to enable secure communication between your store and Gemini services.
Gemini ModelSelect the specific Gemini model to use. We recommend Gemini 1.5 Flash for fast and cost-effective sentiment processing.
AI Prompt TemplateCustomize the instruction sent to the AI. You can include placeholders like {review_title}, {review_text}, {rating_value} to guide the AI.
Summary Word LimitSet the maximum word count for the AI-generated summary. You can enter any number between 50 to 500 words. Default is 100.
Process Reviews Older Than (Days)Define how old the reviews must be to be processed. For example, entering 30 will only analyze reviews older than 30 days. Leave blank to include all.
Batch Size for ProcessingSelect how many reviews you want the system to process in each batch. You can choose from 20, 30, 40, 100, 500, or 1000 reviews per batch.
Processing FrequencyChoose how often the sentiment analysis should run. Available options are: Every Hour, Daily, Weekly, Monthly, or Custom Time.
Custom Cron TimeIf you selected Custom Time above, use this field to set the exact time (HH:MM: SS in 24-hour format) for the AI processing to run.


FieldDescription
Enable Debug LoggingSet to Yes to enable detailed logs for troubleshooting and debugging purposes.


FieldDescription
Minimum Review Count for AnalysisSet the minimum number of customer reviews required before sentiment analysis runs. For example, entering 3 means the analysis will only begin from 3 reviews.
Include Review Title in AnalysisSelect Yes to include review titles in the sentiment analysis process for richer insights.
Enable Storefront DisplayChoose Yes to show AI sentiment analysis results directly on product pages in the storefront.
AI Sentiment Analysis TitleEnter a custom title for the AI sentiment section (e.g., “AI Analysis”). This will be visible to customers on the product page.
Sentiment Distribution TitleEnter a title for the sentiment graph or chart (e.g., “Sentiment Distribution”). This helps explain what the chart represents.
Powered By TextAdd an optional footer or tag like “Powered by AI” to credit the technology behind the sentiment analysis.
Show Sentiment DistributionSet to Yes to display the sentiment distribution chart (positive, neutral, negative breakdown) to customers.
Show "What Customer Loved"Choose Yes to display a section highlighting the most frequently mentioned positive keywords from reviews.
Show "What Could Be BetterChoose Yes to display a section highlighting the most frequently mentioned improvement points (negative keywords) from reviews.

Backend Functionality


AI Sentiment Analysis Dashboard

FieldDescription
Overall Sentiment HealthQuickly view the overall sentiment status of your products. A higher percentage means your products are receiving positive feedback.
Products AnalyzedSee how many products have been successfully analyzed. This gives you an idea of your current AI coverage.
Positive ProductsCheck how many products received mostly positive sentiment. Aim to increase this number for better customer perception.
Neutral ProductsMonitor products with mixed or neutral sentiment. These may benefit from improvements or more customer engagement.
Negative ProductsIdentify products with negative sentiment so you can take corrective action, such as updating content or addressing issues.
Average RatingReview the average customer rating across all analyzed products. Use this to measure overall satisfaction and spot trends.
View All AnalysisClick here to dive into detailed sentiment data. You can explore summaries, pros and cons, and sentiment distribution per product.
ConfigurationAccess and update your AI settings. Customize how sentiment is analyzed and displayed across your store.

Manage AI Sentiment Analysis

FieldDescription
IDUse this unique identifier to track and reference each analyzed product easily within the system.
Product NameClick the product name to open detailed sentiment insights. This helps you understand customer perception at a glance.
SKUIdentify the product using its SKU. Useful for inventory tracking and quickly locating products in your catalog.
Average RatingSee the product's average customer rating (out of 5 stars). Use this to recognize top performers or flag items for improvement.
AI SummaryReview a concise AI-generated summary of what customers are saying. This helps you save time and gain insights without reading every individual review.
SentimentUnderstand how the AI classifies the overall sentiment — Positive, Neutral, or Negative — so you can take informed action quickly.
Total ReviewsCheck how many reviews were analyzed. A higher count means more reliable insights for making business decisions.
Pros CountSee how many positive points the AI found in customer feedback. Use this to highlight strengths in product listings or promotions.
Cons CountFind out how many negative points were detected. These help you identify and address specific customer concerns to improve satisfaction.
Last AnalyzedView the last time the product was processed for sentiment analysis. Reprocess if you've received new reviews or changed configuration settings.
StatusConfirm whether the product has been analyzed. When marked Processed, it means the AI has completed review analysis for that product.
ActionManage each product’s sentiment data:
Reprocess – Run analysis again to reflect new reviews or setting changes.
Delete – Remove the sentiment result if you want to reset or clear outdated data.


Top Positive Products Report

FieldDescription
IDUse this unique ID to quickly reference each product listed in the report.
SKUIdentify the product by its SKU so you can easily locate or manage it within your catalog.
Average RatingView the average customer rating for each product. Use this to recognize well-received products.
Positive ReviewsSee how many reviews are considered positive by AI. Focus on these products to promote what customers love.
Total ReviewsUnderstand how many total reviews the product has. Use this to measure engagement and review quality balance.
Product NameLists the product name with a clickable link, allowing you to quickly navigate to the product details page for deeper insights.

Top Negative Products Report

ColumnHow You’ll Use It to Improve Product Experience
IDUse this internal product ID to quickly locate and manage items that need improvement.
SKUIdentify the product by its SKU to take targeted actions such as updates or inventory adjustments.
Average RatingReview the product’s average star rating. This helps you quickly identify which products may need attention or quality enhancements.
Negative ReviewsSee the number of reviews marked as negative. Use this to understand where customers are dissatisfied so you can act accordingly.
Total ReviewsCheck the total number of reviews for context. This helps you evaluate whether negative sentiment is a trend or an isolated case.
Product NameLists the product name with a clickable link so you can open the product details page, review the feedback in detail, and start making improvements.

Most Mentioned Pros Report

FieldDescription
IDUse this ID to reference each positive aspect quickly. It helps you stay organized as you review or report insights.
Positive AspectDiscover the exact phrases customers mention most positively. You’ll use these to highlight your product's strongest selling points.
Mention CountSee how often each positive point was mentioned. Focus on the highest counts to promote what customers love the most.
Created AtCheck when each insight was generated. This ensures you’re always working with the most recent and relevant feedback.

Most Mentioned Cons Report

FieldDescription
IDUse this ID to reference each negative aspect for internal tracking and corrective action planning.
Negative AspectIdentify specific issues frequently mentioned by customers. Use this insight to spot product flaws or improvement opportunities.
Mention CountView how many times each con was raised. Focus on the most frequently mentioned ones to prioritize your fixes and enhancements.
Created AtKeep track of when each issue was first identified. This helps you monitor patterns and react quickly to recurring concerns.

Frontend Functionality



  • Once the sentiment analysis is processed for a product, the results will appear on the product page under the Reviews tab in a section titled AI Analysis. This section helps customers understand overall product feedback at a glance, using AI-generated summaries and visual highlights. It highlights what customers loved and what could be improved, so shoppers can make informed purchase decisions quickly.

What Customers Will See on the Frontend:

  • AI Analysis Title & Emoji

    • Displays a smiley emoji with the title "AI Analysis" to indicate the sentiment.

    • Let's customers know this summary is automatically generated by AI for their quick understanding.

  • Average Rating

    • Shows the average star rating from all submitted reviews.

    • Includes the total review count for transparency.

  • Sentiment Badge

    • A badge like "Overall Positive Sentiment" to instantly communicate the general feedback tone.

    • Helps customers make faster decisions while browsing.

  • AI Summary Box

    • A short, clear AI-written summary of customer feedback.

    • Highlights both positives and improvement points.

    • Example: “Customers praised the comfort, snug fit, and dry feel even in hot conditions. One reviewer mentioned sizing was slightly off.”

  • Sentiment Distribution Bar

    • A visual breakdown of feedback sentiment:

      • Positive – Green bar (3 mentions)

      • Neutral – Grey bar (1 mention)

      • Negative – Red/grey bar (0 mentions)

    • Makes it easy to grasp the overall opinion trend at a glance.

  • What Customers Loved (Pros)

    • Lists the most praised aspects, including:

      • Comfortable (3 mentions)

      • No chafing (2 mentions)

      • Snug fit (1 mention)

      • No irritation (1 mention)

      • Dry (1 mention)

    • Shows the number of mentions for each point.

  • What Could Be Better (Cons)

    • List improvement suggestions:

      • Not true to size (1 mention)

    • Helps customers identify potential drawbacks before purchase.

  • Last Updated

    • Displays the date the sentiment analysis was last refreshed.

    • Shows the recency of insights.

  • Powered By Text

    • A customizable “Powered By AI” note to let customers know the analysis is AI-generated.

By enabling this feature, you're helping customers shop smarter by presenting meaningful insights upfront. This not only builds trust but also improves the overall shopping experience on your store.

Demo


Click here to visit the frontend.

Click here to visit the backend admin panel.

FAQs


Click here to visit FAQs.

Support


Click here to raise a support ticket using your MageDelight account.

Additional Services


Click here to get the customized solution for this extension.



Thank you for choosing MageDelight!



  • No labels