...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<div id="catalog_1"> </div> < ... some website structure> <div id="product_1"> </div> <div id="product_2"> </div> <div id="product_23"> </div> </ ... some website structure> |
...
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', language: 'fr', widgets: [{ widget: 'Product', // the name of the widget root: '#product_1', // the id of html tag above productId: '4654654', // the id of the product occurrenceId: '87846578', // the id of performance / match / slot showActions: true, // parameters to show the actions aspectRatio: 'VERTICAL' // how to display the picture },{ widget: 'Product', root: '#product_23', productId: '465488', occurrenceId: '1129848', showDescription: true, showImage: false },{ widget: 'Catalog', root: '#catalog_1' }] }); 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', language: 'en', widgets: [{ widget: 'Product', // the name of the widget root: '#product_32', // the id of html tag above productId: '4654654', // the id of the product occurrenceId: '87846578', // the id of performance / match / slot showActions: true, // parameters to show the actions aspectRatio: 'VERTICAL' // how to display the picture }] }); </script> |
In the previous example, there are two groups of widgets.
Additionnal information
Domain restrictions
It can be configured in the point of sales definition: