Skip to main content

ReviewsListWidget

Displays a scrollable, filterable list of customer reviews with detailed feedback. Supports dynamic filter and sorting.

Widget example​

Widget example

Code​

Liquid
<div
class="gw-rv-reviews-list-widget-placeholder"
data-gw-product-id="{{ product.id }}"
data-gw-add-review-button-enabled="false"
data-gw-reviews-per-page="15"
style="display: block"
></div>

Attributes​

Attributes
data-gw-product-idrequired
Specifies the unique identifier for the product whose reviews will be displayed.
data-gw-add-review-button-enabled?optional
Toggles visibility of the "Write a review" button. Default: false.
data-gw-reviews-per-page?optional
Specifies the number of reviews to display per page. Default: 5. Minimum: 1. Maximum: 30.
data-gw-reviews-filters?optional
Applies one or more predefined filters to the displayed reviews. Multiple values can be combined using a comma. Possible values: onlyWithPhotos, onlyPinnedReviews, onlyShopReviews, onlyProductReviews.

Filter example​

Liquid
<div
class="gw-rv-reviews-list-widget-placeholder"
data-gw-product-id="{{ product.id }}"
data-gw-reviews-filters="onlyWithPhotos,onlyProductReviews"
></div>