> For the complete documentation index, see [llms.txt](https://broadcast.presidiocreative.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://broadcast.presidiocreative.com/overlay/cart-drawer/cart-message.md).

# Cart message

Show a custom promotional message to customers, like discount offers or announcements.

<figure><img src="https://2636770384-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsD7BEEDU3B7WiEJlN0F7%2Fuploads%2FLuBP5Am8MZofqPVnbdDD%2Fcart-message-block.jpg?alt=media&amp;token=d305865d-f6bc-4492-864f-35b6850245c6" alt=""><figcaption></figcaption></figure>

<table><thead><tr><th width="127.61981201171875">Setting</th><th width="136.28472900390625" align="center">Type</th><th>Description</th></tr></thead><tbody><tr><td>Text</td><td align="center"><code>richtext</code></td><td>Message shown to the user (e.g., discount announcements).</td></tr><tr><td>Text size</td><td align="center"><code>select</code></td><td> Controls the font size: <code>Extra small</code>, <code>Small</code>, <code>Medium</code>, <code>Large</code>, or <code>Extra large</code>.</td></tr><tr><td>Alignment</td><td align="center"><code>select</code></td><td>Aligns message text <code>Left</code> or <code>Center</code>.</td></tr><tr><td>Text color</td><td align="center"><code>color</code></td><td>Sets the message text color.</td></tr><tr><td>Pin to bottom</td><td align="center"><code>checkbox</code></td><td>Pins this message to the bottom of the cart drawer.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://broadcast.presidiocreative.com/overlay/cart-drawer/cart-message.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
