Many shoppers abandon their cart before reaching checkout. Displaying your Trustpilot ratings directly in the cart provides the social proof needed to build confidence and encourage customers to proceed to checkout, reducing cart abandonment rates.
Trustpilot Business account
EliteCart Professional account
Log in to Trustpilot Business
Navigate to Marketing tools → Website widgets
Select Micro Star Rating or Micro TrustScore
Click Get code
Go to Cart Designer → Custom HTML
Choose position: Below checkout button
Paste the following code, but replace the code between <!-- TrustBox widget - Micro Star Rating -->
and <!-- End TrustBox widget -->
with your own code that you copied from Trustpilot’s website.
The code between <!-- TrustBox script -->
and <!-- End TrustBox script -->
should only be entered if you don’t use trustpilot anywhere else on your website. Otherwise, the script will be loaded twice.
<!-- TrustBox script -->
<script type="text/javascript" src="//widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js" async></script>
<!-- End TrustBox script -->
<!-- TrustBox widget - Micro Star Rating -->
<div class="trustpilot-widget"
data-locale="en-US"
data-template-id="5419b732fbfb950b10de65e5"
data-businessunit-id="YOUR-BUSINESS-UNIT-ID"
data-style-height="20px"
data-style-width="100%"
data-theme="light">
<a href="https://www.trustpilot.com/review/YOUR-DOMAIN" target="_blank" rel="noopener">Trustpilot</a>
</div>
<!-- End TrustBox widget -->
<script>
(function () {
function getTarget() {
var s = document.currentScript;
if (!s) return document.querySelector('.trustpilot-widget');
var prev = s.previousElementSibling;
if (prev && prev.classList && prev.classList.contains('trustpilot-widget')) return prev;
return s.parentElement && s.parentElement.querySelector('.trustpilot-widget');
}
function hydrate() {
var el = getTarget();
var tp = window.Trustpilot;
if (tp && tp.loadFromElement && el) { tp.loadFromElement(el, true); return true; }
return false;
}
if (!hydrate()) {
var waited = 0, max = 5000, step = 100;
var id = setInterval(function () {
if (hydrate() || (waited += step) >= max) clearInterval(id);
}, step);
}
})();
</script>
Adjust widget appearance:
data-theme="dark" <!-- Dark theme -->
data-locale="de-DE" <!-- German language -->
data-style-height="28px" <!-- Larger size -->
Save changes in EliteCart
Open your store
Add product to cart
Verify Trustpilot rating appears below checkout button