# Status messages

When working/using the store, you will certainly have noticed the information messages, such as the message when a product is added to the shopping cart:

<div align="left"><figure><img src="/files/4ivSncQ1fNXXMJpDvOHv" alt=""><figcaption><p>Alert type: "Success"</p></figcaption></figure></div>

These messages run through your entire store and additional extensions also use the different types:

{% hint style="success" %}
**Alert type: "Success"**
{% endhint %}

{% hint style="info" %}
**Alert type: "Information"**
{% endhint %}

{% hint style="warning" %}
**Alert type: "Warning"**
{% endhint %}

{% hint style="danger" %}
**Alert type: "Danger / Error"**
{% endhint %}

You can define the corresponding colors for the status messages in the theme. I have already prepared a few colors for you.

<figure><img src="/files/6xLioYeHVJrTRLuoo1g1" alt=""><figcaption><p>Theme Settings: Status Messages</p></figcaption></figure>


---

# 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.rh-webdesign.com/shopware-theme/en/setup/status-messages.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.
