This module was made to study some features that Magento provides, in response to what is needed for most Magento 2 development jobs.
The module will allow your customer to send a testimonial to your store, as well as be able to manage them.
- Testimonials
Requirement | Version |
---|---|
PHP | >= 7.1 |
Magento | >= 2.3 |
Clone into app/code
this Github module repository with cammand:
$ git clone https://github.com/paulovictordev/module-testimonials.git Testimonials
With the files ready, go into the Magento root and tun the command to enable the module:
bin/magento module:enable PauloVictorDev_Testimonials
bin/magento setup:upgrade
The module settings are available at: Store > Settings > Customers > Testimonials
.
-
General Options
- Enable - Enable or disable the module.
-
Form Options
- Enable picture field - Enable or disable the module.
- Enable designation field - Enable or disable the identification field.
- Enable company field - Enable or disable the campany field.
- Enable email field - Enable or disable the email field.
- Message displayed after sending - Define the success message displayed to the customer.
Creating a Widget
The module provides a widget for the submission form and another one for displaying the testimonials.
Add it to: Content > Widget > Add Widget
. Choose type "Testimonials Form Widget", to define a form. And "Testimonials Show Widget"
to display the testimonials.
Testimonials Manager
The management of the testimonial is done in: Customers > Testimonials > All Testimonials
.
By default all testimonials are created as pending, and must be approved or disapproved by the administrator. It is also possible to leave them visible or not.