Replace Widget Content
Want to change “Add to Basket” to “Add to Cart”? Use your own icons? Slots let you replace default text and content with your own HTML.
Add your content with the slot attribute to place it inside the widget. Learn more about Slots.
Available in these widgets
Section titled “Available in these widgets”Discovery
Section titled “Discovery”Here are slots that can be used for the Discovery Slider, Discovery Set and One-Click Discovery widgets.
Discovery Slider slots
Section titled “Discovery Slider slots”vviinn-recommendations-title— Recommendations title textvviinn-basket-button-text— Text of Add to Basket buttonvviinn-energy-label-data-sheet-text— Text of the data sheet link for the energy labelvviinn-basket-button-icon— Icon of Add to Basket buttonvviinn-basket-button-text-pressed— Text of pressed Add to Basket buttonvviinn-basket-button-icon-pressed— Icon of pressed Add to Basket buttonvviinn-favorite-icon— Icon of Favorite buttonvviinn-favorite-icon-pressed— Icon of pressed Favorite button
One-Click Discovery Slider slots
Section titled “One-Click Discovery Slider slots”In addition to Discovery Slider slots, the icon of the One-Click Discovery button can be changed.
Discovery Set slots
Section titled “Discovery Set slots”vviinn-recommendations-title— Recommendations title textvviinn-recommendations-subtitle— Recommendations subtitle textvviinn-energy-label-data-sheet-text— Text of the data sheet link for the energy labelvviinn-basket-button-text— Text of Add to Basket buttonvviinn-basket-button-icon— Icon of Add to Basket buttonvviinn-basket-button-text-pressed— Text of pressed Add to Basket buttonvviinn-basket-button-icon-pressed— Icon of pressed Add to Basket buttonvviinn-favorite-icon— Icon of Favorite buttonvviinn-favorite-icon-pressed— Icon of pressed Favorite buttonvviinn-update-button-text— Text of Update Button on the topvviinn-update-button-icon— Icon of Update Button
One-Click Discovery Set slots
Section titled “One-Click Discovery Set slots”In addition to Discovery Set slots, the icon of the One-Click Discovery button can also be changed.
Search Modal
Section titled “Search Modal”Slots that can be used for the Search Modal widget.
Search Modal slots
Section titled “Search Modal slots”- default slot (unnamed) — Replaces the default search button icon. Can contain any HTML content including text, SVG icons, or other elements
vviinn-teaser-text— Text on the widget’s main screenvviinn-image-upload-button-text— Title of Upload Buttonvviinn-image-upload-icon— Icon of Upload Buttonvviinn-camera-button-text-start— Title of Start Camera button (for Desktop)vviinn-camera-button-text-stop— Title of Stop Camera button (for Desktop)vviinn-camera-icon— Icon of Camera Buttonvviinn-text-search-icon— Icon of the text search blockvviinn-privacy-badge-text— Text content of privacy notification blockvviinn-image-search-modal-title— Image search modal titlevviinn-energy-label-data-sheet-text— Text of the data sheet link for the energy label
Text button example
Section titled “Text button example”Example showing how to use text content in the default (unnamed) slot to create a text button instead of an icon button.
Filters
Section titled “Filters”Slots that can be used for the Extended Filters component.
Filters slots
Section titled “Filters slots”vviinn-extended-filters-title— Text on widget’s headervviinn-extended-filters-apply— Title of Apply Buttonvviinn-extended-filters-reset— Title of Reset Button
Product List
Section titled “Product List”Slots that can be used for the Product List component.
Product List slots
Section titled “Product List slots”These slots are used when one-click-discovery-mode is set to modal, append-grid or append-slider in the Product List component.
vviinn-results-vpr-icon— Discovery main slot to change the One-Click Discovery iconvviinn-favorite-icon— Icon of Favorite buttonvviinn-favorite-icon-pressed— Icon of pressed Favorite buttonvviinn-basket-button-text— Text of Add to Basket buttonvviinn-basket-button-icon— Icon of Add to Basket buttonvviinn-basket-button-text-pressed— Text of pressed Add to Basket buttonvviinn-basket-button-icon-pressed— Icon of pressed Add to Basket button