# Floating widget

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

<figure><img src="/files/DuVFrZRadiE8EryUQleN" alt=""><figcaption><p>ThemeWare® "Floating widget"</p></figcaption></figure>

***

## 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. Now configure the "Floating widget" as you like
5. Save your changes after editing

### **Content**

* Customise the text of the announcement banner using the following snippets:
  * `twt.extension.floatingWidget.title`
  * `twt.extension.floatingWidget.body`
* Optional: If necessary, customise the URL using the following snippet:
  * `twt.extension.floatingWidget.link`

{% hint style="info" %}
**Note**: For information on how to edit snippets, see the following instructions: [Texts: Editing and translation](https://knowledge.themeware.design/knowledge-base/tutorials/texts-editing-and-translation)
{% endhint %}

{% hint style="success" %}
**Tip**: If a change does not affect the storefront, just clear the Shopware cache: [Clearing / warming up the Shopware cache](https://knowledge.themeware.design/knowledge-base/tutorials/miscellaneous/clearing-the-shopware-cache)
{% endhint %}

***

## Summary

#### Theme configuration

* Tab "Extensions" => Block "Floating widget"

#### Snippets

* **Title**
  * `twt.extension.floatingWidget.title`
* **Text**
  * `twt.extension.floatingWidget.body`
* **Link**
  * `twt.extension.floatingWidget.link`
* **Aria label** (Widget)
  * `twt.extension.floatingWidget.ariaLabel` (available from v3.7 or v4.0)
* **Aria label** (Button)
  * `twt.extension.floatingWidget.closeAriaLabel` (available from v3.7 or v4.0)
  * `twt.extension.floatingWidget.openAriaLabel` (available from v3.7 or v4.0)
* **Aria label** (Link)
  * `twt.extension.floatingWidget.linkAriaLabel` (available from v3.7 or v4.0)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.themeware.design/additional-features/extensions/floating-widget.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
