This article is also available in:
Show Review Slider

In order to show the review slider you need to add the below code to your page.
This code can be used to show the review slider in areas such as product list page, product detail page etc.

Code required to show review slider for individual product:
``<div class="review-container" data-pid="PRODUCT_ID" data-action="slider"></div>```

Code required to show review slider for grouped products:
<div class="review-container" data-pid="PRODUCT_ID" data-group="true" data-action="slider"></div>

Code require to show review slider for site reviews:
<div class="review-container" data-review-type="site" data-action="slider"></div>

You can also use these perimeters:
【data-review-count】➡ Number of reviews to show (number)
【data-autoplay】➡ Automatically slide the slider (0,1)
【data-autoplay-speed】➡ Set speed for sliding effect (millisecond)
【data-morereview-page】➡ Enable more reviews button (0,1)
【data-morereview-page-link】➡ Set link for more reviews button (url)
【data-morereview-page-text】➡ Set text for more reviews button (text)
【data-sort】➡ Order to sort reviews (date,rate,like,buyer,picture)
【data-sort-order】➡ Order to sort reviews (asc,desc)

Example code with some of the perimeters listed above:
<div class="review-container" data-pid="PRODUCT_ID" data-action="slider" data-review-count="10" data-autoplay-speed="3000" data-morereview-page="1" data-sort="date" data-sort-order="desc"></div>

"PRODUCT_ID" should be the ID of the product
Was this article helpful?
Cancel
Thank you!