Please be aware there is a known issue with images on the Community. We are working to resolve this issue as quickly as possible. We apologize for the inconvenience. If you need urgent help in the meantime, please reach out to technical support or your Threekit representative.

Extract configurations from website input

Comments

1 comment

  • andrewq
    andrewq
    I got something working in case anyone needs this. It can be used in the catalogue custom script rule:

    //script

    const player = api.enableApi('player');
    const configurator = player.getConfigurator();
    if (!configurator)
      return console.log('[CUSTOM SCRIPT] - threekit api not loaded');

    //console.log('starting');

    const currentConfiguration = configurator.getConfiguration();
    const attributes = configurator.getAttributes();

    console.log(currentConfiguration);

    console.log('finished');
    0

Please sign in to leave a comment.

Powered by Zendesk