• Developer

Custom integration

On this page

Sobooster makes it easy for you to write custom integration for our app. The example below demonstrates how to write an integration for Judgeme Review:

usf.plugins.push({
    render_searchResultsProductReview(t, h, args, next) {
        var p = args.product;

        return h('div', {
            class: 'jdgm-widget jdgm-preview-badge', attrs: { 'data-id': p.id },
            domProps: { innerHTML: usf.utils.getMetafield(p, 'judgeme', 'badge').replace(/\|/g, '"') }
        });
    }
});

14 Days Risk Free Trial. No credit card required. Cancel anytime.

© Sobooster - Privacy Policy