Testimonials
Example

Variables
HomeTestimonials
limit
string
optional
items
object
optional
items.next_page
object (Feedback)
optional
id
integer
optional
avatar
string
optional
has_order
boolean
optional
created_at
string <date>
optional
stars
integer
required
content
string
required
type
enum<string>
optional
Allowed values:
allproductstore`default:store` all
Default:
store
position
string
optional
Usage
src\views\components\home\testimonials.twig
receives a list of testimonials
, which are the customers' feedbacks, in the form of a collection of items[]
,and then displays them inside a slider. The sorting of this collection is as per the newest.item.avatar
, item.name
, item.text
inside the slider uing for-loop. Also salla-button
is used here to navigate between previous slide
and next slide
.
Modified at 2024-02-12 13:09:16