Display star ratings on product pages - Shopify vintage

This article will guide you through the steps to display star ratings on your Shopify product page if you are using Vintage themes.

info icon
Please make sure you have installed Ryviu app in your store.

Having star ratings on your Shopify product page can build trust in your products and boost sales. You can display these ratings by adding a snippet code to your product page. Below are detailed instructions on how to add the snippet code to show star ratings.

  1. Log in to your Shopify store admin.

  2. Open Online Store > Themes

  3. In the current theme, click "..." > Edit Code.

  4. Open "product-template.liquid" or "product-meta.liquid" or "product-info.liquid" file, and find the line of code contains {{ product.title }}, is usually wrapped in HTML code contains <h1.

  5. Paste the following code below it.

    <div class="review-widget"><ryviu-widget-total reviews_data="{{product.metafields.ryviu.product_reviews_info  | escape  }}" product_id="{{product.id}}" handle="{{product.handle}}"></ryviu-widget-total></div>

  6. Save the file.

The star ratings will appear as shown in this screenshot:

Show star ratings on the Shopify product page


Tutorial video


Need help?

Get in touch with our support team through live chat or email at [email protected]. We're here to help!

Did this answer your question?
😞
😐
😁