> For the complete documentation index, see [llms.txt](https://help.brickspacelab.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.brickspacelab.com/keystone/guides/sitewide/discount-popups.md).

# Discount popups

Customize the popup message that appears when customers apply automatic discounts by adding `?dt=Custom+text` to your discount URL.

#### How to Set Up a Custom Discount Popup

1. **Find the Discount in Shopify**
   * Navigate to your Shopify admin
   * Select the discount you want to share
2. **Get the Shareable Link**
   * Click **Promote** > **Get a shareable link**
   * Copy the generated link
3. **Add Custom Message**
   * Append `?dt=Your+message+here` to the end of the URL
   * Replace spaces with `+` and special characters with URL codes
     * Example: `%25` for %
4. **Example URLs**
   * Basic example:\
     `https://yourstore.myshopify.com/discount/SAVE10?dt=Save+10%25+storewide`
   * With redirect option:\
     `https://yourstore.myshopify.com/discount/SAVE10?redirect=%2Fcollections%2Fwallets&dt=Save+10%25+storewide`

#### Important Notes

* Works with automatic discounts only
* Message appears in the discount application popup
* Use `+` for spaces in your custom text
* Encode special characters properly (e.g., %25 for %)


---

# 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://help.brickspacelab.com/keystone/guides/sitewide/discount-popups.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.
