# 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="https://1485471486-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7H1ZB4J9TQlWDiI82pRW%2Fuploads%2Ft2cXJhjboB1sx5Hi9mCK%2Fimage.png?alt=media&#x26;token=47787a32-af3c-4059-9477-f9e4bbe8ebcd" 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="https://1485471486-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7H1ZB4J9TQlWDiI82pRW%2Fuploads%2Fp1sLKGBpulBpx0Cnl6aG%2Fimage.png?alt=media&#x26;token=f039aa59-3c8b-4f0d-80ef-6c6680f04fb6" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1485471486-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7H1ZB4J9TQlWDiI82pRW%2Fuploads%2FNe38SD41hNDjfka6ZiiJ%2Fimage.png?alt=media&#x26;token=6ea37c74-98fb-49a7-aa28-efb9ecf0124b" 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="https://1485471486-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7H1ZB4J9TQlWDiI82pRW%2Fuploads%2FrO5coRw7b7XEvPRXNuci%2Fimage.png?alt=media&#x26;token=1028244d-f8c4-4413-a85d-26343196d3a2" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1485471486-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7H1ZB4J9TQlWDiI82pRW%2Fuploads%2F3rvCJ90uMNpzcxneE2Ws%2Fimage.png?alt=media&#x26;token=2de15b19-e452-4bcd-9376-ba0790361758" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1485471486-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7H1ZB4J9TQlWDiI82pRW%2Fuploads%2F9hcNQNTYHi2gFOTi99sE%2Fimage.png?alt=media&#x26;token=925fbc33-dd8f-401d-b8a2-63dcf33082bc" alt=""><figcaption></figcaption></figure>

### Similarly for creating metafields for the text

<figure><img src="https://1485471486-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7H1ZB4J9TQlWDiI82pRW%2Fuploads%2FDTbIcHctuoRTpRGOK7hk%2Fimage.png?alt=media&#x26;token=08ab86fe-ac73-4428-88ff-6e98380cef0d" 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="https://1485471486-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7H1ZB4J9TQlWDiI82pRW%2Fuploads%2FMGHRk8WRmNIv5OR3zjo0%2Fimage.png?alt=media&#x26;token=de3a4698-07c1-4ffc-aaa1-30cd0d1adbc1" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://1485471486-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7H1ZB4J9TQlWDiI82pRW%2Fuploads%2FKIyfrPntp4IyNHqUFvjk%2Fimage.png?alt=media&#x26;token=6582e172-4bd5-467a-bbed-c89a69f5abbc" alt=""><figcaption></figcaption></figure>
