Comment on page
Automatic cross-selling content - including alternative products.
8.SET with add-to-cart functionality active
<div data-8select-widget-id="8.SET" data-sku="insert-sku-of-currently-viewed-product"></div>
data-skuis a dynamic attribute
- in case the viewed variant is changed, for example via a color drop-down the value has to be updated via
The played out content is specific to visual variants such as colour or pattern. When the visual variant changes the widget has to be updated!
The played out content is specific to visual variants such as colour or pattern. To retrieve the content of the currently selected visual variant, the current SKU must be passed to the widget when the visual variant is changed. For example if a customer is currently viewing the red variant of a shirt and changes to the blue variant, the 8.SDK has to be informed about the changed SKU to load content for the changed visual variant. This must not happen when changing the size, as the content is size-independent.