Skip to main content

ReviewsDrawerWidget

The widget displays a drawer with product reviews and ratings. It offers an interactive interface for users to view and manage reviews directly from the storefront. In the open state, it shows detailed reviews, including reviewer names, ratings, comments, and shop replies. Users can also see the total number of reviews and the average rating.

Widget example​

Closed​

Widget example

Opened​

Widget example

Code​

The widget button is automatically positioned in the gw-widget-placeholder-LC-wrapper or gw-widget-placeholder-RC-wrapper based on the reviews settings configured in the Growave application admin panel. You do not need to manually set the placeholder, as the widget position can only be configured through the admin settings.

If these blocks are not present on your page, add them to ensure proper widget placement:

For left positioning:

<div class="gw-widget-placeholder-LC-wrapper" style="display: block">
<div class="gw-widget-placeholder-LC"></div>
</div>

For right positioning:

<div class="gw-widget-placeholder-RC-wrapper" style="display: block">
<div class="gw-widget-placeholder-RC"></div>
</div>

The open state of the widget renders directly to the body element and does not require any placeholder.