# Dynamic discount popups

## Space: Using dynamic discount popups

## Summary <a href="#h_1070afd154" id="h_1070afd154"></a>

***

If you're already using automatic discounts. This is a neat little feature to ensure customers are aware of the discounts being applied to their cart. Take your automatic discount URL and append "?dt=Custom+text" to change the content that appears in the popup.

This will display a popup with your discount and the "Custom text" message.

[![](https://downloads.intercomcdn.com/i/o/1200195335/b29c6e780f7dec3aa870f9ab/CleanShot+2024-10-01+at+11_24_27%402x.png?expires=1744834500\&signature=84902734102e0ec31f7d5043b9d8b30c2efd7273587144860100c677c0038989\&req=dSInFsh3mIJcXPMW1HO4za7Cgw%2FA7K1vHpQledLDyEKoAPGJQd99lmjK307H%0AUgxT688X4b5XRn9O5WU%3D%0A)](https://downloads.intercomcdn.com/i/o/1200195335/b29c6e780f7dec3aa870f9ab/CleanShot+2024-10-01+at+11_24_27%402x.png?expires=1744834500\&signature=84902734102e0ec31f7d5043b9d8b30c2efd7273587144860100c677c0038989\&req=dSInFsh3mIJcXPMW1HO4za7Cgw%2FA7K1vHpQledLDyEKoAPGJQd99lmjK307H%0AUgxT688X4b5XRn9O5WU%3D%0A)

## How to <a href="#h_14814642e8" id="h_14814642e8"></a>

***

1. In Shopify find the discount you want to share
2. Click Promote > Get a shareable link > Copy link
3. Append the custom URL text.
   * For example if you want to add "Save 10% storewide" to your popup your shareable link might look like this `https://`spacethemedemo1`.myshopify.com/discount/SAVE10?dt=Save+10%25+storewide`
   * If you're using the `?redirect=` option in your discount URL you'll want to add the custom URL text like this `https://`spacethemedemo1`.myshopify.com/discount/SAVE10?redirect=%2Fcollections%2Fwallets&dt=Save+10%25+storewide`


---

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