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

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

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