Skip to main content

ReviewsProductPageWidget

Displays an aggregated star rating based on customer reviews and allows users to write and submit their reviews. It shows individual review details, including the reviewer's name, rating, and comments, with an option to like the review. Reviews can be sorted by relevance.

Widget example​

Widget example

Code​

Liquid
<div
class="gw-rv-main-widget-placeholder"
data-gw-product-id="{{ product.id }}"
data-gw-reviews-per-page="15"
data-gw-min-images-for-slider-visibility="3"
style="display: block"
></div>

Attributes​

Attributes
data-gw-product-idrequired
Specifies the unique identifier for the product whose reviews will be displayed.
data-gw-reviews-per-page?optional
Specifies the number of reviews to display per page. Default: 5. Minimum: 1. Maximum: 30.
data-gw-min-images-for-slider-visibility?optional
Specifies the minimum number of images required for the slider to be visible. Default: 6.