
Enhance your Shopify store by displaying star ratings on your collection page using Ryviu. Follow these steps to integrate the star ratings seamlessly.
From your Shopify admin, navigate to the Sales channels menu.
Open Online Store > Themes.
Click "..." in the current theme > Edit code.

In the snippets folder, find card-product.liquid.
Find the line that includes.
{%- if show_ratingAdd the following code above it.
<div class="ryviu-collection"><ryviu-widget-total collection=1 product_id="{{card_product.id}}" handle="{{card_product.handle}}" reviews_data="{{card_product.metafields.ryviu.product_reviews_info | escape }}" ></ryviu-widget-total></div> If the above code does not work, then please add this code.
<div class="ryviu-product-rating" collection="1" reviews_data="{{ card_product.metafields.ryviu.product_reviews_info | escape }}" product_id="{{ card_product.id }}"></div>Save file.
Need help?
Get in touch with our support team through live chat or email at [email protected]. We're here to help!