Demo-Integration
To test the integration, the 8.SDK can be inserted into the shop via the (Chrome) Developer Tools. For this purpose, there is a demo tenant as well as demo product data and content.
Insert and execute the following snippets one by one to show the widget 8.SET Compose at the top of the current page.

Add 8.SDK Web in demo mode to your shop

1
// Load 8.SDK
2
3
(function(d, s, w) {
4
var apiId = 'db54750f-80fc-4818-9455-30ca233225dc';
5
window.eightlytics || function (w) {
6
w.eightlytics = function () {
7
window.eightlytics.queue = window.eightlytics.queue || [];
8
window.eightlytics.queue.push(arguments);
9
};
10
}(w);
11
var script = d.createElement(s);
12
script.src = 'https://wgt.8select.io/' + apiId + '/loader.js';
13
var entry = d.getElementsByTagName(s)[0];
14
entry.parentNode.insertBefore(script, entry);
15
})(document, 'script', window);
Copied!

Add a widget to your shop

You can add any widget via its id like described in the section WIDGETS.
1
// Add 8.SET Compose Widget
2
_8select.demo('8.SET-Compose')
Copied!
Currently only the widget 8.SET-Compose supports the demo mode.