# Custom announcement

The "Custom announcement" extension is an info element that can be displayed on product pages or in the checkout.

Status message can be displayed here. The element is suitable, for example, to inform about changed shipping times due to vacation or absence.

<div><figure><img src="/files/NrwYqrQkhp0NWtCBjjuA" alt=""><figcaption><p>ThemeWare® "Custom announcement" (Product pages)</p></figcaption></figure> <figure><img src="/files/rJ4cKMMa1jRiJjuQSZKx" alt=""><figcaption><p>ThemeWare® "Custom announcement" (Checkout)</p></figcaption></figure></div>

***

## Configuration

### **Theme configuration**

1. Go to the "**Extensions**" tab
2. Expand the "**Custom announcement (on product pages and in the checkout)**" block
3. Now configure the "Custom announcement" as you like
   * For example, specify whether you want the banner to be displayed from a certain date or until a certain date.
4. Save your changes after editing

### **Content**

* Edit the text using the following snippet:
  * `twt.extension.customAnnouncement.content`

{% 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 "Custom announcement (on product pages and in the checkout)"

#### Snippet

* `twt.extension.customAnnouncement.content`


---

# 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/custom-announcement.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.
