Advanced integration

It is possible to retrieve review data through the theme code. That way, if you have some programming knowledge, you can create your own widget.

Below is an overview of the liquid variables you can use.

{% assign shop_reviews = shop.metafields.ism.shop_reviews.value %}

Total score: {{ shop_reviews.total_score }}
Total amount of reviews: {{ shop_reviews.total_reviews }}

{% for review in shop_reviews.reviews limit: 10 %}
Review Date: {{ review.date | date: "%d-%m-%Y" }}
Review Score: {{ review.score }}
Review Name: {{ review.name }}
Review Content: {{ review.content}}
{% endfor %}

Please note that knowledge of HTML, CSS, Liquid and possibly JavaScript is required. InStijl Media cannot provide support on selfmade review widgets.