Skip to content
vviinn DocsDocs Beta

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.

Here are slots that can be used for the Discovery Slider, Discovery Set and One-Click Discovery widgets.

  • vviinn-recommendations-title — Recommendations title text
  • vviinn-basket-button-text — Text of Add to Basket button
  • vviinn-energy-label-data-sheet-text — Text of the data sheet link for the energy label
  • vviinn-basket-button-icon — Icon of Add to Basket button
  • vviinn-basket-button-text-pressed — Text of pressed Add to Basket button
  • vviinn-basket-button-icon-pressed — Icon of pressed Add to Basket button
  • vviinn-favorite-icon — Icon of Favorite button
  • vviinn-favorite-icon-pressed — Icon of pressed Favorite button
Custom Title Add to Cart

In addition to Discovery Slider slots, the icon of the One-Click Discovery button can be changed.

Custom Title Add to Cart
  • vviinn-recommendations-title — Recommendations title text
  • vviinn-recommendations-subtitle — Recommendations subtitle text
  • vviinn-energy-label-data-sheet-text — Text of the data sheet link for the energy label
  • vviinn-basket-button-text — Text of Add to Basket button
  • vviinn-basket-button-icon — Icon of Add to Basket button
  • vviinn-basket-button-text-pressed — Text of pressed Add to Basket button
  • vviinn-basket-button-icon-pressed — Icon of pressed Add to Basket button
  • vviinn-favorite-icon — Icon of Favorite button
  • vviinn-favorite-icon-pressed — Icon of pressed Favorite button
  • vviinn-update-button-text — Text of Update Button on the top
  • vviinn-update-button-icon — Icon of Update Button
Custom Title Custom Subtitle Add to Cart Custom Update Pressed

In addition to Discovery Set slots, the icon of the One-Click Discovery button can also be changed.

Custom Title Custom Subtitle Add to Cart Custom Update IC Button Pressed IP I

Slots that can be used for the Search Modal widget.

  • 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 screen
  • vviinn-image-upload-button-text — Title of Upload Button
  • vviinn-image-upload-icon — Icon of Upload Button
  • vviinn-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 Button
  • vviinn-text-search-icon — Icon of the text search block
  • vviinn-privacy-badge-text — Text content of privacy notification block
  • vviinn-image-search-modal-title — Image search modal title
  • vviinn-energy-label-data-sheet-text — Text of the data sheet link for the energy label
Custom Text Custom Button Text

Example showing how to use text content in the default (unnamed) slot to create a text button instead of an icon button.

Search Now

Slots that can be used for the Extended Filters component.

  • vviinn-extended-filters-title — Text on widget’s header
  • vviinn-extended-filters-apply — Title of Apply Button
  • vviinn-extended-filters-reset — Title of Reset Button
Custom Title Custom Apply Custom Reset

Slots that can be used for the Product List component.

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 icon
  • vviinn-favorite-icon — Icon of Favorite button
  • vviinn-favorite-icon-pressed — Icon of pressed Favorite button
  • vviinn-basket-button-text — Text of Add to Basket button
  • vviinn-basket-button-icon — Icon of Add to Basket button
  • vviinn-basket-button-text-pressed — Text of pressed Add to Basket button
  • vviinn-basket-button-icon-pressed — Icon of pressed Add to Basket button