# How to add a countdown timer on the product page

The countdown timer feature adds urgency to your product page, encouraging faster purchasing decisions. Ideal for limited-time offers or flash sales, it enhances the shopping experience and can boost sales.

You can set up a countdown timer to display for all products or only for specific products using a metafield.

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

## Add Countdown timer

By default, the countdown timer block will be displayed for all products. If you want to specify particular products, please refer to the [instructions](https://halosoft.gitbook.io/soul-documentation/tutorials-and-topics/how-to-add-a-countdown-timer-on-the-product-page#id-2.-show-countdown-timer-for-specific-products-using-metafields) below.

1. From your Shopify admin, go to **Online Store** **->** **Themes**.
2. Find the theme that you want to edit, and then click **Customize**.
3. Choose **Product** from the dropdown window.
4. From the left side menu, select **Product information** section **->** click **Add block ->** choose **Countdown timer**.

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

5. Set up end date and text for countdown timer.

<figure><img src="/files/2BCQodI5MHBgwndjzcRl" alt=""><figcaption></figcaption></figure>

## 2. Show countdown timer for specific products using metafields

## 1. Create a metafield for End date

1. From your Shopify admin, go to **Settings** **->** **Custom data**.
2. Click **Products → Add Definition.**

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

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

3. Enter the name that you want and select type **Single line text**

<figure><img src="/files/0mLURXVt5QOUTvswGDFM" alt=""><figcaption></figcaption></figure>

### Similarly for creating metafields for the text

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

## 2. How to insert content for Countdown Metafields?

1. From your Shopify admin, go to **Products -> All products**.
2. Find and choose the product that you want to edit.
3. In the **Metafields**, please enter the value for the **Countdownt end date and Countdown text** input.

<figure><img src="/files/2fFI7NhXuw2ZnG3aVAJE" alt=""><figcaption></figcaption></figure>

4. Set up the end date and text to take values from the product metafield.

<figure><img src="/files/ozbSWy7aghTl1t7sy2QP" 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://halosoft.gitbook.io/soul-documentation/tutorials-and-topics/how-to-add-a-countdown-timer-on-the-product-page.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.
