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.

{% liquid
  assign shop_reviews = shop.metafields.ism.shop_reviews.value   assign total_score = shop_reviews.total_score   assign total_reviews = shop_reviews.total_reviews %}
{% for review in shop_reviews.reviews limit: 10 %} {% liquid
  assign review_date = review.date | date: "%d-%m-%Y"     assign review_score = review.score
    assign review_name = review.name
    assign review_content = review.content
    assign review_title = review.title # can be null
    assign review_location = review.location # can be null
    assign review_response_content = review.response_content # can be null
%} {% endfor %}

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