Hello ![]()
I’ve been using the shopify Product Review app for a few months now, but i would like to display the 5 star reviews onto my main page instead of only on the product pages. However the app only lets me display reviews on each product page and not on main page despite all my attempts to try and input code in the liquid section file.
I tried to put them into the Multicolumn section on main page but nothing shows up.
This is the code I used which didn’t work:
{% assign reviews = all_product_reviews.reviews | where: “rating”, 5 | reverse %}
{% for review in reviews %}
{% if review.body != blank %}
{{ review.author }} says: “{{ review.body }}”
Rating: {{ review.rating }}/5
{% endif %}
{% endfor %}
}
I don’t want to use a payed widget just to put the reviews on main page. The product review app works fine already.
Is there any code to help with this ? I use the Dawn theme 2.0 by the way!
Thanks a lot in advance,