Make sure you have one review app (such as Judge.me app) installed on your store.

From your ShopBase admin, go to Online Store > Pages > Add Page.

Set up your page details, website SEO, and settings. Select your Template as Page. You can learn more about managing your pages for more information.



Copy the following scripts. In HTML tab on Content section, paste the scripts at the bottom. If you have other content here, make sure the scripts are pasted under any other content.

<div id="sbase-happy-customer-wrapper"></div>
<script type="text/javacript">
var templateJdgm = `<div class="jdgm-widget jdgm-all-reviews-widget"><div class="jdgm-all-reviews__body"></div>`;
var elToAppend = 'sbase-happy-customer-wrapper';
var jdgmTarget = document.querySelectorAll('.jdgm-all-reviews__body');
var intervalCheckJdgm = setInterval(function() {
if (window.jdgm && typeof window.jdgm !== "undefined" && typeof window.jdgm.$ !== "undefined" && typeof window.jdgmCacheServer !== "undefined" && jdgmTarget.length === 0) {
clearInterval(intervalCheckJdgm);
document.getElementById(elToAppend).innerHTML = templateJdgm;
jdgmTarget = document.querySelectorAll('.jdgm-all-reviews__body');
if (jdgmTarget && jdgmTarget.length > 0) {
if (jdgmTarget[0].innerHTML == "") {
window.jdgmCacheServer.reloadAll();
}
}
}
}, 500);
</script>




Your listing preview will look undesirable after the scripts adding. To fix this, click Edit website SEO and edit or remove it in the Meta description. Click Save to finish.

Was this article helpful?
Cancel
Thank you!