If you are using Gempages to create your product page then please add our code to Gempages follow this 

Add reviews and a review form to your product page

To add reviews and review form to your product, please follow the below steps: 

  • Drag & drop a Liquid element from Left Sidebar, then choose Edit Html.
  • Replace all existing code in the code panel revealed from step 1 with this custom code:
<!-- RYVIU APP :: WIDGET -->
<div class="lt-block-reviews">
  <ryviu-widget  
      handle="{{product.handle}}"
      title_product="{{product.title}}"
      total_meta="{{ product.metafields.ryviu.r_count }}"
    image_product="{{ product.featured_image.src | img_url: '800x' }}"></ryviu-widget>
</div>
<!-- / RYVIU APP -->

Add rating star under your product title

To add rating star badges to your Product Pages, you can just drag & drop Liquid element to right under your Product Title and then right click on it,  choose Edit HTML, and then add your custom code below: 

<!-- RYVIU APP :: WIDGET-TOTAL -->
<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>
<!-- / RYVIU APP -->

Add rating star to your Collection Page

To add rating star badges to your Collection Pages, you can just drag & drop Liquid element to right under your Product Title and then right click on it,  choose Edit HTML,and then add your custom code below: 

<!-- RYVIU APP :: COLLECTION-WIDGET-TOTAL --> 
<div class="ryviu-collection">
<ryviu-widget-total collection=1
     reviews_data="{{product.metafields.ryviu.product_reviews_info  | escape  }}"
     product_id="{{product.id}}" handle="{{product.handle}}">
</ryviu-widget-total>
</div>  
<!-- RYVIU APP -->


Best Regards,

Ryviu team.


Did this answer your question?