Trustoo
    Trustoo
    • Reviews Widget Integration
    • Reviews Data API
      • API Quick Start
      • Response Code
      • Webhook Description
      • Create shop webhook
        POST
      • Update shop webhook
        PUT
      • Delete shop webhook
        DELETE
      • Get shop webhooks
        GET
      • Get review list
        GET
      • Get order list
        GET
      • Get customer event list
        GET
      • Unsubscribe
        POST

    Reviews Widget Integration

    Before importing the Trustoo.io widget, please make sure you have installed the Trustoo.io APP and enabled APP Embeds in the theme editor#

    Reviews widget#

    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>

    Star Rating Widget#

    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">
    image.png

    Code added according to the carousel type#

    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
    <div id="trustoo-barrage-carousel" style="display:block;max-width:1200px;margin:0 auto" data-type="block"></div>
    Modified at 2025-02-17 01:45:42
    Next
    API Quick Start
    Built with