Hey there, I have added reviews inside of my product pages with shopify review app but want to add them to the featured collection on my home page as well. I am using Dawn theme and this is my website:
https://argentijewelry.org
Please someone let me know how to do it and exactly where to put the code if code is needed.
I think it goes in the “main collection” section but I’m not sure if that’s actually where it goes and if it is then what line of code it goes on, help greatly appreciated.
Hi @Argenti ,
You can add star ratings code of your review app in card-product.liquid, find this line of code and add your star rating code above or below of that line
{% render 'price', product: card_product, price_class: '' %}
You also can check article of our app to learn how to customize code of your app
https://docs.ryviu.com/en/articles/6168300-how-to-install-ryviu-star-ratings-on-the-collection-of-shopify-s-2-0-free-themes
Hi!
Luckily this is fairly simple if you have the Shopify Rating app installed. All you have to do is go to your customiser, go to the featured collection section and in the menu of that section you will see a checkbox for this!
Hope this helps!
Hello @Argenti ,
Greetings from flareAI app helping Shopify merchants get $6Million+ in sales from Google Search, on autopilot! I am Gina, and I am here to help.
To add the reviews from your Shopify Review app to the featured collection section on your Dawn theme’s home page, you’ll need to do the following.
-
Go to your Shopify admin dashboard and click on “Online Store” and then “Themes”.
-
Click on “Actions” next to the Dawn theme and then click on “Edit code”.
-
In the “Sections” folder, locate the “featured-collection.liquid” file and open it.
-
Scroll down until you find the section where you want to add the reviews, such as the “Featured Products” section.
-
Inside the section where you want to add the reviews, add the following code:
{% for review in product.reviews %}
{{ review.author }} said: {{ review.body }}
{% endfor %}
Note: This code will display all reviews for the product. If you want to limit the number of reviews that appear, you can use the limit parameter, like this:
{% for review in product.reviews limit:3 %}
{{ review.author }} said: {{ review.body }}
{% endfor %}
-
Save the changes to the “featured-collection.liquid” file
-
Preview the changes to make sure the reviews are displaying correctly on the home page.
Once you have completed these steps, the reviews from your Shopify Review app should be displayed in the featured collection section on your Dawn theme’s home page.
Gina