How to add star rating badge on collections?

Hi my website is https://hcbiopharm.co.kr/

I am using shopify product reviews app and would like to add star rating badge on featured collections on the home page, and on collections https://hcbiopharm.co.kr/collections/supplements .

I am using Studio theme (Online 2.0) and it seems like I cannot add this rating app as a block or a section.

Please help me. Thank you so much in advance.

Hi @amhcphar ,

May this article can help you with that

https://help.shopify.com/en/manual/products/product-reviews/installation

It works only on single product pages. I want the ratings to appear on collection pages.

You can add this code to collection page template file of that theme


Can you give me another code for star rating that can go after show_vendor, ?

I don’t know in which file I need to copy and paste the code you provided above.
I tried in Sections > main-collection-product-grid.liquid and Templates > Collection.json and it did not work.

{% render ‘card-product’,
card_product: product,
media_aspect_ratio: section.settings.image_ratio,
show_secondary_image: section.settings.show_secondary_image,
show_vendor: section.settings.show_vendor,

…some code needed here…
show_rating: section.settings.show_rating, (this one does not work…nothing shows up)
show_quick_add: section.settings.enable_quick_add,
section_id: section.id
%}