# Flash message

The **Flash message block** creates a sense of urgency by displaying promotional messages with an optional countdown timer. This block is particularly effective for **limited-time offers**, **flash sales**, or **pre-order deadlines**, encouraging customers to make quicker purchasing decisions.

<figure><img src="/files/1rykYVIXQE30TnHHyuKX" alt=""><figcaption></figcaption></figure>

### Settings:

1. **Background image:** If an image is uploaded, it will be used as the block’s background. If no image is provided, the block will use a background color based on your theme settings.
2. **Icon:** Allows merchants to select a decorative icon to display alongside the timer. *Examples*: **Clock, Hourglass, Fire (for urgency), Lightning bolt** **(for flash sales).**
3. **Icon size:** Adjusts the size of the selected icon for better visibility.
4. **Text:**

* **Heading:** Sets the **main title** for this block. Example: **“Limited-Time Offer”**, **“Deal Ends Soon”**, **“Pre-Order Closes In”**
* **Description:** Adds additional context about the **sale or promotion**. Example: **“Hurry! This deal won’t last long.”**

5. **Countdown timer:**

* **Show countdown timer**: If unchecked, only the promotional message will appear without a timer.
* **Countdown end date:** Specifies the exact **date** when the countdown expires.
* **Countdown end time:** Defines the **exact time** the countdown ends. Uses the **Shopify store’s timezone settings** for accuracy.
* **Hide when countdown reaches zero:** Automatically removes the block from the product page when the timer reaches zero. Ensures that expired timers do not clutter the page.
* **Show timer labels:** If unchecked, the labels such as **Days, Hours, Minutes, and Seconds** will be removed, leaving only numerical values.


---

# 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.byinspiredlabs.com/product-page/product-information/flash-message.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.
