Main Reviews Widget - Customization Attributes

Here are the standard main review widget codes and list of customizations possible through coding. For basic customizations of the main review widget, please refer to the following guide instead:

Note: the value of the attributes may vary depending on the e-commerce platform you're using.

In This Guide

Customizable Attributes

<div id="stamped-main-widget" 
data-product-id="{{ }}" 
data-name="{{ product.title | escape }}" 
data-url="{{ shop.url }}{{ product.url }}"
data-image-url="{{ product.featured_image | product_img_url: "large" |replace: '?', '%3F' | replace: '&','%26'}}"
data-description="{{ product.description | escape }}"
data-widget-language="{{ language }}"></div>
Attribute Value What it does
data-take-reviews 1 (numeric, max 30) Limit the number of reviews to load per page
data-take-questions 1 (numeric, max 30) Limit the number of questions to load per page
data-animation false Stops the scrolling to reviews widget on badge rating click
data-offset 150 (numeric) Adjusts the position of the scrolling to the widget from click of the badge
data-widget-language ISO 2 Letter Language Codes
Translate the widget into different languages
data-limit-words 50 (numeric) Limit the words of each review, any excess will be hidden with a "read more" link to expand the review

Disabling Font Library from

We include Open Sans Google font library by default, but you can easily exclude it simply by adding these JS script:

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.