> For the complete documentation index, see [llms.txt](https://script-and-theory.gitbook.io/all-in-one-commerce-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://script-and-theory.gitbook.io/all-in-one-commerce-docs/checkout-blocks/blocks/dynamic-content.md).

# Dynamic Content

**Description:**

The Dynamic Content block allows merchants to display important messages and information directly inside the checkout page. This can be used to show shipping notices, promotions, legal disclaimers, or any other custom content that enhances the checkout experience.

With this feature, you can:

* Create multiple Dynamic Content blocks within the app.
* Customize text, styling, and placement for each block.
* Display content based on specific rules and conditions.

**How to Use:**

**Create a Dynamic Content Block in the App:**

* Go to the Blocks section in the app.
* Create a new Dynamic Content block.<br>

  <figure><img src="/files/P4vrLILApqoBr1zp5peJ" alt=""><figcaption></figcaption></figure>
* Configure the content, including text, formatting, and display rules.<br>

  <figure><img src="/files/XfgPENO5pDQRfJBcV4nX" alt=""><figcaption></figcaption></figure>
*

**How to Enable:**

* Go to the Blocks section in the app settings. Copy the created checkout Upsell block to generated Block ID.

  <figure><img src="/files/XAhIZZDxsfbhXv8Se9EB" alt=""><figcaption></figcaption></figure>

* Go into the store customizer<br>

  <figure><img src="/files/E2gBZqfOCit9Uw68d3Rs" alt=""><figcaption></figcaption></figure>

* Then you need to "add app block" and search extension "Dynamic Content" and add it. Click to added extension block and enter the Block ID in the block settings and save the configuration.. **Check Screenshot**<br>

  <br>

  <figure><img src="/files/ObyklsO4vQkOsNWDYtRp" alt=""><figcaption></figcaption></figure>

  <figure><img src="/files/XhmoFTbZzJroqAdwB49b" alt=""><figcaption></figcaption></figure>

* Set the location where the Dynamic Content should appear on the checkout page.<br>


---

# 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 dynamically by asking a question.

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

```
GET https://script-and-theory.gitbook.io/all-in-one-commerce-docs/checkout-blocks/blocks/dynamic-content.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
