Customer Testimonials & Reviews for Magento 2
Collect and show customer testimonials in Magento 2 with a submission form, admin approval, 1 to 5 star ratings, a slider widget, category pages and one page per testimonial. Listing and detail pages output Review JSON-LD.
- Free
- Themes listed: Hyvä + Luma
composer require mage2kishan/module-testimonials
- Package requirementsRead the source documentation
- Developer profileView Upwork profile
- Themes listedHyvä + Luma
- PHP versions listed8.1, 8.2, 8.3, 8.4
- Installation questionsDiscuss your store setup
What it does for your store
The main features, as listed in the module documentation.
-
Testimonial records
Name, job title, company, rating, title, content, excerpt, featured flag, sort order and store view.
-
Moderation
Storefront submissions are saved as Pending and appear only after you approve them in the admin grid.
-
Listing and detail pages
A paginated listing, a page per category and a page per testimonial, each with its own URL.
-
Slider widget
Insert it in CMS pages, blocks or layout XML, filtered by category, rating or featured flag.
-
Spam limits
Form key, honeypot field, input cleaning and at most 5 submissions per IP per hour.
-
Review JSON-LD
An ItemList of up to 50 approved Review nodes, with the reviewed item type set in the admin.
Installation
Example commands from the Magento root. Follow the package instructions and your staging and deployment process.
- 1Check the releaseMatch Magento, PHP, theme and dependency requirements.
- 2Install on stagingReview Composer changes and follow the package instructions.
- 3Configure and verifyUse the documented settings and test the affected features.
$ composer require mage2kishan/module-testimonials $ bin/magento setup:upgrade $ bin/magento setup:di:compile $ bin/magento setup:static-content:deploy -f $ bin/magento cache:clean
Listed requirements
These are the details supplied in this listing. Confirm the selected release supports your Magento edition, PHP and storefront.
| Magento versions listed | 2.4.6, 2.4.7, 2.4.8 |
|---|---|
| PHP versions listed | 8.1, 8.2, 8.3, 8.4 |
| Themes listed | Hyvä, Luma |
| Composer package | mage2kishan/module-testimonials |
Documentation
Product details and setup guidance. Check the package repository for release-specific instructions.
Customer testimonials with their own pages
Testimonials stores testimonials and testimonial categories in two database tables, manages them from two admin grids, and shows them on the storefront as a listing page, category pages, one page per testimonial and a slider widget. A custom router serves the URLs: /testimonials, /testimonials/category/<url key> and /testimonials/<url key>, with the route name set in the admin. Only approved testimonials and active categories are shown.
Collecting testimonials
The form at /testimonials/submit asks for name, email, job title, company, a 1 to 5 rating, a title and the text. Every submission is saved as Pending. The form checks the form key and a honeypot field, strips HTML from every field, limits field lengths and accepts at most 5 submissions per IP address per hour.
In the admin grid you can approve, reject or set testimonials back to pending in bulk, mark featured testimonials and set a sort order. Each testimonial belongs to one category.
Slider widget
Insert the Panth Testimonial Slider widget in a CMS page, a CMS block or layout XML. Its options cover the title, category, number of items, featured only, and whether to show the rating, company and image, plus autoplay. On Hyvä it uses the Hyvä snap slider with Alpine.js. On Luma it uses Swiper from Panth Core and starts when the slider scrolls into view.
Structured data
The listing, category and detail pages print an ItemList of up to 50 approved testimonials as Review nodes. You choose what is reviewed, such as Organization, LocalBusiness, Service or Product, and its name. Whether search engines show anything from this markup is their decision, and reviews a business collects about itself are generally not shown as review stars.
Store views and caching
Settings can be set per website and store view. Testimonials and categories with store view 0 appear on every store view. Saving or deleting an approved testimonial cleans its full page cache tags.
Requirements
- Magento Open Source or Adobe Commerce 2.4.4 to 2.4.8.
- PHP 8.1 to 8.4.
- mage2kishan/module-core, installed by Composer.
- Hyvä or Luma storefront.
Free and open source under the MIT License. The module ships with no testimonials; every entry comes from your own customers or your admin.
Developer notes
- Module
Panth_Testimonials, PHP namespacePanth\Testimonials. It loads afterPanth_Core,Magento_Cms,Magento_StoreandMagento_Widget. Model\Testimonialstatus constants:STATUS_PENDING0,STATUS_APPROVED1,STATUS_REJECTED2. Cache tag and event prefix:panth_testimonial.Model\Categoryusespanth_testimonial_categoryfor both.- Testimonial collection helpers:
addApprovedFilter(),addStoreFilter(),addCategoryFilter(),addFeaturedFilter(),addDefaultOrder(). The category collection hasaddActiveFilter(),addStoreFilter()andaddDefaultOrder(). - The slider widget block is
Block\Widget\TestimonialSlider, withgetTestimonials(),getSliderConfig()andgetSliderId(). Controller\Routeris registered inetc/frontend/di.xmlwith sort order 40. Frontend routetestimonials, admin routepanth_testimonials.- Theme detection uses
Panth\Core\Helper\Theme::isHyva(). The module registers withPanth\Core\ViewModel\ThemeConfiginetc/frontend/di.xml, andetc/theme-config.jsonholds its colour tokens. - ACL resources:
Panth_Testimonials::testimonials,Panth_Testimonials::manage_testimonials,Panth_Testimonials::manage_categoriesandPanth_Testimonials::configuration. - Database tables:
panth_testimonialandpanth_testimonial_category.
| Module Category | Marketing |
|---|---|
| Best For | All Sizes |
Changelog
-
1.2.11, 2026-10-30
- Released under the MIT License: this module is free and open-source software.
-
1.2.10, 2026-10-05
- Hyvä listing, detail page and slider no longer depend on Tailwind classes that are missing from the theme build: customer photos stay inside their 44px/40px avatar circle instead of rendering at full image size and causing horizontal scrolling, and the submission modal gets its backdrop and stacking order.
- The Luma testimonial slider now starts: the slider ID is reduced to letters, digits, dashes and underscores, so widget instances whose layout name contains a backslash initialise Swiper again.
- The Hyvä listing submission modal shows the server message when a submission is rejected instead of always thanking the visitor, sends the honeypot field, validates the email address, uses translatable messages, labels every field, works as a dialog (focus moves in, Tab stays inside, Escape and Close return focus) and uses 16px inputs on phones.
- Star ratings expose their value to screen readers on the Hyvä listing, detail page and both sliders; the Luma rating rows use role img.
FAQ
Does this work on Hyvä themes?
Yes. The module has its own Hyvä templates built with Alpine.js and the Hyvä snap slider, and separate Luma templates that use Swiper.
Can customers submit testimonials from the frontend?
Yes. The form at /testimonials/submit saves every entry as Pending for you to approve. It uses a form key, a honeypot field and a limit of 5 submissions per IP address per hour. There is no CAPTCHA.
Does it add star ratings to Google search results?
No module can promise that. The pages print Review nodes in JSON-LD, with no AggregateRating. Google decides what to show, and its guidelines generally exclude review stars for reviews a business collects about itself.
Can I have multiple categories (e.g., by product, by service)?
Yes, you can create as many categories as you need, each with its own page. Each testimonial belongs to one category.
Does it support video testimonials?
No. A testimonial holds text, a rating and optional customer details. There is no video field.
Is the slider touch/swipe friendly on mobile?
Yes. The Hyvä slider uses scroll snapping and the Luma slider uses Swiper, and both respond to swipe on touch screens.
Is it compatible with Magento's full-page cache?
Yes. Testimonials and categories carry cache tags, so saving or deleting an approved testimonial, or any category, cleans the cached pages that show them.
Can I import existing testimonials from another extension?
There is no import tool. You can add testimonials in the admin grid, or insert rows into the panth_testimonial table with a script.
Does it work with multi-store and multi-language setups?
Yes. Each testimonial and category has a store view, and store view 0 means all store views. Settings can be set per website and store view.
Is Panth_Core required?
Yes. mage2kishan/module-core is a required dependency and Composer installs it.
Questions before you install?
Send me your composer.json and I will check for conflicts first. Free. Installation is +$45, custom work is quoted first.