Knowledge Base

Knowledge base

Explore How-To's and learn best practices from our knowledge base.

Add widgets on non-supported platforms (with a store from a supported platform)

Modified on: Mon, 11 Nov, 2019 at 11:54 AM

Add widgets on non-supported platforms (with a store from a supported platform)

If you have a store on one of our supported platforms and you want to add a review widget on any site then please follow up the following steps.

Enable the Platform-independent Review Widgets setting

In your shop's setting page, go to tab Integration > Developer > Platform-independent Review Widgets and enable the setting.

Then copy the provided scripts to your HTML page section.

Widget scripts

Add the following scripts to anywhere on your page:

Single product preview badge (star rating)

<div class='jdgm-widget jdgm-preview-badge' data-id='add-your-product-id'></div>

Single product review widget

<div class='jdgm-widget jdgm-review-widget jdgm-outside-widget' data-product-title='add-your-product-title' data-id='add-your-product-id'></div>

Review carousel

<div class='jdgm-carousel-wrapper'>  <h2 class='jdgm-carousel-title'>Featured reviews</h2>  <a href='/reviews' class='jdgm-all-reviews-rating-wrapper'>      <div data-score='' class='jdgm-all-reviews-rating'></div> from <span class='jdgm-all-reviews-count'></span> reviews  </a> </div>

Floating reviews tab

<section class='jdgm-widget jdgm-revs-tab'>  
  <div class='jdgm-revs-tab-btn btn' position='bottom'>Reviews</div>
  <div class='jdgm-revs-tab__header'>
      <a class='jdgm-close-ico'></a>
      <h3 class='jdgm-revs-tab__title'>Product Reviews</h3>
      <a href='/pages/reviews'>
          <div class='jdgm-all-reviews-rating'></div>
          <span class='jdgm-all-reviews-count'></span> reviews

All reviews widget

<div class="jdgm-widget jdgm-all-reviews-widget">  <div class="jdgm-all-reviews__body"></div> </div>

Verified reviews count badge

<div class='jdgm-verified-badge-wrapper'></div>

Did you find it helpful? Yes No Still have questions? Talk to us here

Can you please tell us how we can improve this article?

More articles in Installations