Skip to main content



To connect actions which you'd like to happen in your shop to events in Online Sizing, we provide the events: {} config object.

All events require functions that are written by yourself. These functions will then be triggered as callback functions by specific events of Online Sizing. In this process useful information will be passed to your function that you can use to achieve the desired functionality.

Below you can find the general structure. All possible events including examples you will find in the menu.

function yourFunction(payload) {
// your own function here
// payload passed to your function will contain data from the request

const OZ_CONFIG = {
settings: {
// config options here
events: {
event: {
callback: yourFunction,

Visual overview

to give you a better understanding, where callback functions are triggered, take a look at the flowchart below for detailed information just click on the callback function.