Judge.me reviews in the cart
Show your Judge.me store rating in the EliteCart drawer with Custom HTML and Widget mode, so shoppers check out with confidence.
Last updated
Showing your Judge.me rating in the cart gives hesitant shoppers a reason to continue to checkout. This article shows how to add a Judge.me reviews widget to the EliteCart drawer with Custom HTML.
What you need
- Judge.me installed on your store
- EliteCart Professional or Enterprise (Custom HTML is part of these plans)
Add the widget
Copy the widget code from Judge.me
In your Judge.me admin, copy the code of the widget you want in the cart, for example the all-reviews text or a badge. Store-wide widgets work best in the cart.
Open Custom HTML
In EliteCart, go to Cart designerOtherCustom HTML.
Choose the position
In Below checkout button, tick Enable and Widget mode. Widget mode is needed because Judge.me's script looks for its widget on the page once, when the page loads.
Paste the code
Paste the widget code into the HTML editor. Add the loader below only if needed (see the next section).
Save and test
Click Save, add a product to the cart on your store and check the rating below the checkout button.

Example code
The widget markup comes from Judge.me. It looks similar to this:
<!-- Judge.me all reviews text -->
<div class="jdgm-widget jdgm-all-reviews-text" style="text-align: center;">
<a href="javascript:void(0)">
<span data-score="YOUR_RATING" class="jdgm-all-reviews-rating"></span>
<span class="jdgm-all-reviews-text__text">Customers rate us YOUR_RATING/5 based on YOUR_COUNT reviews.</span>
</a>
</div>
Use the code Judge.me gives you, with your own values, rather than this example.
When you also need the Judge.me loader
If Judge.me's script already runs on every page of your store (for example because Judge.me is active in your theme), the widget markup is enough.
If the widget stays empty in the cart, add Judge.me's configuration and loader above the widget markup. Replace the placeholders with your own values: SHOP_DOMAIN is your .myshopify.com domain, not your custom domain, and the public token comes from your Judge.me settings.
<script>
jdgm = window.jdgm || {};
jdgm.SHOP_DOMAIN = "YOUR-SHOP.myshopify.com";
jdgm.PLATFORM = "shopify";
jdgm.PUBLIC_TOKEN = "YOUR_JUDGEME_PUBLIC_TOKEN";
</script>
<script data-cfasync="false" type="text/javascript" async src="https://cdnwidget.judge.me/widget_preloader.js"></script>
Still stuck?
Chat with us and we'll help you get your cart live. Or email contact@elitecart.app.