Skip to main content

AverageReviewsWidget (deprecated)

Deprecated: This widget is deprecated. Please use the Reviews star rating widget instead.

The widget displays the average rating using a 5-star system and the number of reviews. Hovering over the stars reveals a detailed breakdown of the ratings. Users can click "See all reviews" for more detailed feedback.

Widget examples​

Default​

Default widget example

Hover​

Hovered widget example

Code​

Liquid
<div
class="gw-rv-average-placeholder"
data-gw-product-id="{{ product.id }}"
style="display: block"
></div>

Attributes​

Attributes
data-gw-product-idrequired
Specifies the unique identifier for the product whose average reviews will be displayed.