You can include a Ryviu product review snippet on the non-product page to display reviews of a single product on every page; follow the instructions below.
Here is the original Ryviu Product review widget code
<div class="lt-block-reviews">
<ryviu-widget
product_id="{{product.id}}"
handle="{{product.handle}}"
title_product="{{product.title}}"
image_product="{{ product.featured_image.src | img_url: '100x' }}">
</ryviu-widget>
</div>
By replacing these values below in the snippet codes, you can make reviews display on a non-product template page.
Replace {{product.id}} with your product ID
Replace {{product.handle}} with your product handle(Shopify), slug(WooCommerce)
Replace {{product.title}} with your product name
Replace {{ product.featured_image.src | img_url: '100x' }} with URL of thumbnail image of your product
The example code will be like this:
<div class="lt-block-reviews">
<ryviu-widget
product_id="66669999"
handle="handle-of-this-product"
title_product="This is name of product"
image_product="https://your-image-domain.con/image.png">
</ryviu-widget>
</div>
Related articles
Need help?
Get in touch with our support team through live chat or email at [email protected]. We're here to help!