Navigation

ThemeWare® Manual

Floating widget

With ThemeWare® you can use the "Floating widget" of our Shopware 5 themes in your Shopware 6 shop as well, for example to display contact information prominently.

ThemeWare® "Floating widget"

ThemeWare® "Floating widget"

Note: The floating widget is shown if the "Show floating widget" configuration is enabled. The content is maintained via snippets.


Configuration

Theme configuration

  1. Go to the tab "Extensions"
  2. Expand the block "Floating widget"
  3. Enable the floating widget with the configuration "Show floating widget"
  4. Save your changes after editing

Content

  • Edit the title and text of the floating widget using the following snippets:
    • twt.extension.floatingWidget.title
    • twt.extension.floatingWidget.body
  • Optional: Edit the link URL using the snippet twt.extension.floatingWidget.link (only used if the "Link widget" configuration is enabled)

Note: For information on how to edit snippets, see the following instructions: Texts: Editing and translation

Tip: If a change does not affect the storefront, just clear the Shopware cache: Clearing / warming up the Shopware cache


Options

  • Show floating widget @Phone (<768px)
    • Controls whether the widget appears on smartphones (<768px).
  • Position
    • Places the widget "left" or "right".
  • Hover effect
    • "no effect", "pull out" or "reduce opacity".
  • Show overlay (if opended)
    • Places a dimming overlay over the page while the widget is open.
  • Show opened (when the page has been loaded)
    • Opens the widget automatically when the page loads.
  • Animate (when the page has been loaded)
    • "no animation" or "Wobble (3x)".
  • Link widget
    • Makes the widget clickable: "no", "yes" or "yes (open in new tab)". You set the target URL via the snippet twt.extension.floatingWidget.link.

In addition, the size, padding, alignment and the distance to the page edge as well as colors, font and a background image can be adjusted.


Summary

Theme configuration

  • Tab "Extensions" => Block "Floating widget" => Show floating widget
  • Tab "Extensions" => Block "Floating widget" => Show floating widget @Phone (<768px)
  • Tab "Extensions" => Block "Floating widget" => Section "Basic configuration" => Position
  • Tab "Extensions" => Block "Floating widget" => Section "Basic configuration" => Hover effect
  • Tab "Extensions" => Block "Floating widget" => Section "Basic configuration" => Show overlay (if opended)
  • Tab "Extensions" => Block "Floating widget" => Section "Basic configuration" => Show opened (when the page has been loaded)
  • Tab "Extensions" => Block "Floating widget" => Section "Basic configuration" => Animate (when the page has been loaded)
  • Tab "Extensions" => Block "Floating widget" => Section "Basic configuration" => Link widget
  • All settings in detail: Floating widget

Snippets

  • twt.extension.floatingWidget.title (Title)
  • twt.extension.floatingWidget.body (Text)
  • twt.extension.floatingWidget.link (Link URL)
  • twt.extension.floatingWidget.altText (Alt text image)
  • twt.extension.floatingWidget.ariaLabel (Aria label widget)
  • twt.extension.floatingWidget.closeAriaLabel (Aria label close button)
  • twt.extension.floatingWidget.openAriaLabel (Aria label open button)
  • twt.extension.floatingWidget.linkAriaLabel (Aria label link)
  • All snippets at a glance: Snippets

Last updated on

This page online: https://docs.themeware.design/additional-features/extensions/floating-widget · ThemeWare® Service Portal, service.themeware.design