> For the complete documentation index, see [llms.txt](https://docs.themeware.design/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.themeware.design/additional-features/extensions/custom-announcement.md).

# 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>

{% hint style="info" %}
**Note**: The announcement is displayed if it is enabled in the theme configuration (either everywhere, only on product pages or only in the checkout), the "twt.extension.customAnnouncement.content" snippet is filled and – if set – the current date is within the configured start/end period.
{% endhint %}

***

## Configuration

### **Theme configuration**

1. Go to the "**Extensions**" tab
2. Expand the "**Custom announcement (on product pages and in the checkout)**" block
3. Set the configuration "**Show custom announcement**" to the desired mode ("show", "show (only on product pages)" or "show (only in checkout)")
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 %}

***

## Options

* **Show custom announcement**
  * Defines where the announcement appears: "show" (everywhere), "show (only on product pages)" or "show (only in checkout)".
* **Start date** / **End date**
  * Limits the display of the announcement to a period.

***

## Summary

#### Theme configuration

* Tab "Extensions" => Block "Custom announcement (on product pages and in the checkout)" => Show custom announcement
* Tab "Extensions" => Block "Custom announcement (on product pages and in the checkout)" => Section "Basic configuration" => Start date / End date

#### Snippet

* `twt.extension.customAnnouncement.content`
