# Promotion banner

<figure><img src="https://3026705042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAJrvmfqcj9TMoPkl3bNc%2Fuploads%2FaObeipphRtRxijHstw62%2FHyper%20docs%20screenshot%20do%20not%20delete%20(48).jpg?alt=media&#x26;token=78c53342-1ffe-4193-918f-1c89bb35b0d2" alt=""><figcaption></figcaption></figure>

Highlight promotional messages, discounts, and limited-time offers with engaging visuals such as countdown timers and call-to-action buttons.

{% hint style="info" %}
**Example Use Cases:**

* **Flash sales:** Countdown to the end of a site-wide discount event.
* **Holiday promotions:** Build excitement for special sales such as Black Friday or Christmas deals.
* **Product launches:** Tease upcoming releases with a countdown to the launch date.
* **Limited-time offers:** Encourage customers to act before time runs out.
  {% endhint %}

## How to add a Promotion banner section to your Shopify store

{% hint style="success" %}
**Steps:**

1. In the theme editor (**Customize**) > click **Add section**
2. Select **Promotion banner** section
3. Make necessary changes
4. **Save.**
   {% endhint %}

## How to edit a Promotion banner section

Once the section is added, you can customize its elements using the left sidebar menu.

**Available blocks within the Promotion banner section:**

* **Heading & Subheading:**
  * Add compelling promotional messages (e.g., “Flash Sale Now On!”).
* **Countdown timer:**

Choose between two countdown types: **Evergreen** or **Fixed time**.

* Evergreen: This timer repeats after a set duration.
  * Ideal for:
    * Ongoing promotions (e.g., flash sales every month).
    * Seasonal offers that repeat periodically.
* Fixed time: Counts down to a specific date and time.
  * Ideal for:
    * Product launches.
    * Limited-time promotions (e.g., holiday sales).
  * Settings:

    * Ends time: Set the exact date and time in the format `YYYY/MM/DD HH:MM` or `YYYY/MM/DD HH:MM AM/PM.`

    <figure><img src="https://3026705042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAJrvmfqcj9TMoPkl3bNc%2Fuploads%2F81faUKSEWOVSdRnsdLMt%2Fimage.png?alt=media&#x26;token=c538c236-20f7-4eb9-9c74-6dfa68242cd7" alt=""><figcaption></figcaption></figure>

    <figure><img src="https://3026705042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAJrvmfqcj9TMoPkl3bNc%2Fuploads%2FHBonVRxb4OB1WAyVoMNZ%2Fimage.png?alt=media&#x26;token=d8fc20de-fcd9-4371-ad5d-a1f12edc9a59" alt=""><figcaption></figcaption></figure>
* **Description:** Provide additional details about the promotion (e.g., product categories, discounts).
* **Button (Call-to-Action):**
  * Add a button with a custom label.
  * Link the button to a product, collection, or any URL.

<figure><img src="https://3026705042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAJrvmfqcj9TMoPkl3bNc%2Fuploads%2Fg9dhcUB0B90vCeKjvcfP%2Fimage.png?alt=media&#x26;token=81cc2a23-e5c3-46c4-84fb-e7288af43ee3" alt=""><figcaption></figcaption></figure>

* **Discount code:**
  * Add a discount code
  * Adjust the label of the button
  * Choose the style of the button

{% hint style="info" %}
[Click here](https://admin.shopify.com/discounts) to create a discount code
{% endhint %}

<figure><img src="https://3026705042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAJrvmfqcj9TMoPkl3bNc%2Fuploads%2FRQH8VrobhXJRB7PO3CaJ%2Fimage.png?alt=media&#x26;token=583b9231-a60e-40fd-8bca-040af9408dde" alt=""><figcaption></figcaption></figure>

* **Group heading:**&#x20;

  <figure><img src="https://3026705042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAJrvmfqcj9TMoPkl3bNc%2Fuploads%2F2TCzktzchgpY6BXawnjd%2Fimage.png?alt=media&#x26;token=a96010a8-982a-45aa-bb6c-0f93447fee15" alt=""><figcaption></figcaption></figure>

  * **Layout:** Set how the block shows in the section as Vertical/Horizontal.
  * **Subheading:** Add a short, secondary heading to complement the main heading. This can provide additional context or detail.

  <figure><img src="https://3026705042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAJrvmfqcj9TMoPkl3bNc%2Fuploads%2FgpsAbEdjRR6mdrCdHTyM%2Fimage.png?alt=media&#x26;token=45282506-22ba-4b82-aaf2-11a51fe36db1" alt=""><figcaption></figcaption></figure>

  * **Heading:** Enter the primary title for your banner.

  <figure><img src="https://3026705042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAJrvmfqcj9TMoPkl3bNc%2Fuploads%2Fzz87UV0g9kAHfZWxwB1H%2Fimage.png?alt=media&#x26;token=83986db5-395e-431f-894a-d3c56b576fd2" alt=""><figcaption></figcaption></figure>

  * **Font and text settings:** Customize heading size, font style, badge, and highlight styles.

***

<figure><img src="https://3026705042-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAJrvmfqcj9TMoPkl3bNc%2Fuploads%2FkUIzEsJKOeRiz891zyf5%2Flivechat883x471%20(1).png?alt=media&#x26;token=90cbed2c-e791-49c8-9f43-49a08bed6f1f" alt=""><figcaption><p><a href="https://apps.shopify.com/xflow?utm_source=foxecom&#x26;utm_medium=help_center_hyper&#x26;utm_campaign=banner">Install XFlow Back In Stock Automation FREE</a></p></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.foxecom.com/hyper-theme/theme-sections/promotion-banner.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.
