# Banner

## App block alternative

If your theme supports App blocks (introduced in Online Store 2.0), avoid editing the theme and use the [Product Page Banner App block](/discount-ninja-developer-hub/theme-edits/app-blocks/product-page-banner.md) instead.

## Placeholder

### Snippet

Use the following snippet to add the placeholder in a Liquid template:

```html
<div la-dn-product-banner></div>
```

### Example

```html
<div class="title">
    <h1>{{ product.title | escape }}</h1>
    ...
</div>
<div la-dn-product-banner></div>
```


---

# 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://developers.discountninja.io/discount-ninja-developer-hub/theme-edits/code-edits/product-detail-page-pdp/banner.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.
