Skip to main content

Trustoo Reviews Widget Integration Guide

Written by Amelia
Updated over 7 months ago

Prerequisites

  • Install the Trustoo.io APP

  • Enable APP Embeds in the theme editor

Reviews Widget

Overview

  • Displays product-specific reviews on product pages

  • Shows all product reviews on other pages

Code Snippet

<div class="custom-vstar-review-widget" style="width:100%"></div>

Star Rating Widget

Product Page Widget

Shows average rating and total reviews for specific products

<div class="custom-vstar-rating-widget"></div>

Other Pages Widget

For displaying star ratings on multiple pages:

<div class="custom-vstar-rating-widget" data-product-id="6872802820149"></div>

Featured Reviews Carousel

Important Note

When app embed is not enabled, add these scripts:

<script src="https://cdn.vstar.app/static/dist/js/swiper-reviews.min.js" defer></script>
<link rel="stylesheet" href="https://cdn.vstar.app/static/css/swiper-reviews.min.css">

Carousel Types

Image and Text Carousel

<div id="trustoo-card-carousel-widget" style="display:block;max-width:1200px;margin:0 auto"></div>

Text Carousel

<div id="trustoo-text-carousel" style="display:block;max-width:1200px;margin:0 auto" data-type="block"></div>

Photo Carousel

<div id="trustoo-photo-carousel" style="display:block;max-width:1200px;margin:0 auto" data-type="block"></div>

Testimonials Carousel

<div id="trustoo-barrage-carousel" style="display:block;max-width:1200px;margin:0 auto" data-type="block"></div>

Best Practices

  • Ensure widgets are placed strategically

  • Test responsiveness across devices

  • Verify widget functionality after installation

Troubleshooting

  • Check app embed settings

  • Confirm script loading

  • Verify product IDs

  • Inspect browser console for any errors

Support

If you encounter any issues during integration, contact our 7/24 in-app support for assistance.

Did this answer your question?