...
The local information are related to what is displayed. The id or code of object to display and also some control variables to define how to display them.
Show a widget
...
Code Block | ||||
---|---|---|---|---|
| ||||
<script type="text/javascript"> |
...
STX.Widgets.start({ |
...
// The hostname defined in the point of |
...
sales hostname: 'thecube-special-cube.int2-shop.secutix.com', |
...
apiKey: '8bafa660-8bc1-4982-83da-f15fce01f4ec', |
...
widgets: [ |
...
{ root: '#product_1', |
...
productId: '4654654', |
...
occurrenceId: '87846578', |
...
showActions: true, |
...
aspectRatio: 'VERTICAL' |
...
} , {
...
} , { root: '#product_2', |
...
productId: '465488', |
...
occurrenceId: '1129848', |
...
showDescription: true, |
...
showImage: |
...
} ]
})
...
false
} ]
})
</script> |