# Configuring sale badge

To configure "sale percent" or "sale amount", follow these steps:

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjRi1aohY8I4BPjjvC9cH%2Fuploads%2FQpVKZl7QPyf6f1EJ9714%2FSale%20Badge.mp4?alt=media&token=ccc5b0d5-ce05-477c-af03-edaf6d3b541f>" %}

1. From your Shopify admin, go to **Online Store > Theme.**
2. Click the theme you want to edit and select **Edit default theme content.**

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

3. In the **Smind** tab and then scroll to "**Product**".&#x20;
4. From the **Sale** field, enter your key, following format **{{sale\_percent}}** or **{{sale\_amount}}.**&#x20;
5. Click **Save.**

**For example:**

{{sale\_percent}} OFF    ![](/files/Gc3EyRkkZgDLPZXdipdU)\
-{{sale\_percent}}   ![](/files/FGjTU0wE14IhQTWbPpao)

SAVE {{sale\_amount}}   ![](/files/VVwWv6oD1UobV4BRgWev)\
SALE    ![](/files/5XaM03COiaWFzQY9OAti)

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


---

# 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://docs.smind.io/guides/configuring-sale-badge.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.
