RYVIU APP Integration
From your Shopify Backend -> Themes -> Actions -> Edit Codes
Step 1: Snippets-> product-tabs.liquid: Do paste the code twice as per the screenshot below.
<!-- RYVIU APP :: WIDGET -->
<div class="lt-block-reviews">
<ryviu-widget
handle="{{product.handle}}"
product_id="{{product.id}}"
title_product="{{product.title}}"
total_meta="{{ product.metafields.ryviu.r_count }}"
image_product="{{ product.featured_image.src | img_url: '100x' }}"></ryviu-widget>
</div>
<!-- / RYVIU APP -->
- First: Paste the code under the review-initil id ( as seen on the screenshot )
- Second: Paste the code under the {% if settings.productreview == 'shopify_reviews'%}
Step 2: Sections -> product-template.liquid: Paste the code below the product.title (Below Line 230 and Below Line 604)
<!-- 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 -->
<!-- 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 -->
Step 3: Snippets -> product-grid-item.liquid: Paste this below the title (Line 127)
<div class="ryviu-collection">
<ryviu-widget-total collection=1
product_id="{{product.id}}"
handle="{{product.handle}}"
reviews_data="{{product.metafields.ryviu.product_reviews_info | escape }}" >
</ryviu-widget-total>
</div>
Please make sure you have installed the RYVIU APP to your Store from Shopify APP Store, otherwise it would not work.