On the product page, the reviews widget will display reviews for the corresponding product. On other pages, the reviews widget will display reviews for all products.#
Insert the following code snippet into the page where you want to display the reviews.<div class="custom-vstar-review-widget" style="width:100%"></div>
Show the average rating and total number of reviews for each product.#
Insert the following code snippet into the page where you want to display the star rating widget.
Star rating widget exclusively for the product page:<div class="custom-vstar-rating-widget"></div>
Star rating widget for other pages (change the product-id to that of the specific product):<div class="custom-vstar-rating-widget" data-product-id="6872802820149"></div>
Featured Reviews Carousel#
Showcase your top reviews in a carousel format on your desired page.#
Insert the following code snippet into the page where you want to display the Carousel widget.When the app embed of Trustoo is not enabled , the following code must be added
<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">
Code added according to the carousel type#
<div id="trustoo-card-carousel-widget" style="display:block;max-width:1200px;margin:0 auto"></div>
<div id="trustoo-text-carousel" style="display:block;max-width:1200px;margin:0 auto" data-type="block"></div>
<div id="trustoo-photo-carousel" style="display:block;max-width:1200px;margin:0 auto" data-type="block"></div>
<div id="trustoo-barrage-carousel" style="display:block;max-width:1200px;margin:0 auto" data-type="block"></div>