# Countdown Lock

**Build Urgency and Anticipation with a Live Countdown Timer**

Works with Date & Time lock conditions in the BSS B2B Lock app. Compatible with B2B-only and hybrid store setups. All visual options are fully customizable.

| <p><strong>⭐  Best Practice</strong></p><p>Always use the {timer} placeholder in your message — it is required for the live countdown to appear.</p><p>Set your Date & Time target carefully — the timer counts down to the exact date/time in your Shopify store's timezone.</p><p>Test in an incognito window after saving both the customization panel and the main rule page.</p><p>Point 'After date/time' for launches; use 'Before date/time' for flash sale endings.</p> |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

### **On This Page**

1. [Eligibility Requirements](#eligibility-requirements)
2. [Understanding Clock Countdown](#understanding-clock-countdown)
3. [When to Use — and When NOT to Use](#when-to-use-and-when-not-to-use)
4. [Availability & Limitations](#availability-and-limitations)
5. [Setting Up Clock Countdown](#setting-up-clock-countdown)
6. [Real-World Examples](#real-world-examples)
7. [Timer Format Reference](#timer-format-reference)
8. [Common Issues & Fixes](#common-issues-and-fixes)
9. [Still Need Help?](#still-need-help)

## **Eligibility Requirements**

Confirm all of the following before setting up Clock Countdown:

• BSS B2B Lock app is installed on your Shopify store.

• Your store uses Shopify's standard online storefront.

• You have Admin-level access to your Shopify store.

• You are using a Date & Time lock condition — Clock Countdown only works with Date & Time rules.

• Compatible with both B2B-only and hybrid B2B/B2C store setups.

## **Understanding Clock Countdown**

### **What It Is**

Clock Countdown is a visual add-on for Date & Time lock rules that replaces your static lock message with a live ticking timer counting down to (or from) the date and time you set.

The timer updates every second — no page refresh needed. When it reaches zero, the locked content unlocks automatically.

### **What You Can Do**

• Show a live countdown to a product launch or sale start ('New collection launches in 2d 5h 30m').

• Show a live countdown to a sale or offer end ('Sale ends in 00h 45m 12s — Don't miss out!').

• Customize all text, fonts, colors, and layout for desktop and mobile separately.

• Use the {timer} placeholder to position the timer anywhere in your message.

• Add Custom CSS for pixel-perfect control over the timer's appearance.

### **Where It Applies**

The countdown appears on any page covered by your lock — entire store, products, collections, or pages. Visible to all visitors, even those who cannot access the locked content&#x20;

## **When to Use — and When NOT to Use**

| **✅ Use Clock Countdown When...**         | **❌ Do NOT Use When...**                         |
| ----------------------------------------- | ------------------------------------------------ |
| Product launches — build anticipation     | Permanent locks — use a passcode or login rule   |
| Flash sales — show when sale starts/ends  | Manual approval needed — use Access Management   |
| Pre-orders — show when order window opens | Content stays locked indefinitely after a date   |
| VIP early access — time-limited previews  | Tag-based lock — use Tag/Specific Customers rule |
| Events — control when registration opens  | You do not want a visible countdown timer shown  |

## **Availability & Limitations**

| **Feature**                 | **Status**  | **Notes**                                                 |
| --------------------------- | ----------- | --------------------------------------------------------- |
| Clock Countdown timer       | ✅ Live      | Works with Date & Time lock conditions only               |
| {timer} placeholder         | ✅ Live      | Required — must be included in message text               |
| Message customization       | ✅ Live      | Free-form text + {timer} anywhere                         |
| Layout settings             | ✅ Live      | Desktop & mobile width, alignment, orientation            |
| Design settings             | ✅ Live      | Font, text color, timer color, background color           |
| Custom CSS                  | ✅ Available | Advanced users — overrides default styles                 |
| Works with other lock rules | ⚠️ Partial  | Only activates when Date & Time is the access rule        |
| Timer timezone              | ℹ️ Note     | Uses your Shopify store's timezone — set in Store details |

| **⚠️  Note:**  Clock Countdown only works with the Date & Time lock condition. It cannot be used with passcode, login, customer tag, or other rule types. |
| --------------------------------------------------------------------------------------------------------------------------------------------------------- |

| **⚠️  Note:**  The countdown timer uses your Shopify store's timezone. If your timer appears off by hours, go to Shopify Admin → Settings → Store details and verify your timezone. |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

## **Setting Up Clock Countdown**

#### **1. Create a Lock with a Date & Time Rule** &#x20;

1\. Go to **Shopify Admin** → **Apps** → **BSS B2B Lock.**

2\. Click **Locks** in the left navigation.

3\. Click **Add lock** (or open an existing lock to edit).

4\. In the Grant Access To panel, select Date & time.

5\. Click the dropdown and choose the direction:

<figure><img src="/files/H3QF8nQiCdIKJWBBpmhf" alt="Figure 1 — Date &#x26; Time condition setup: &#x27;Date &#x26; time&#x27; selected, calendar and time picker visible, &#x27;Use clock countdown&#x27; checkbox and &#x27;Setup message lock&#x27; link at the bottom."><figcaption><p>Figure 1 — Date &#x26; Time condition setup: 'Date &#x26; time' selected, calendar and time picker visible, 'Use clock countdown' checkbox and 'Setup message lock' link at the bottom.</p></figcaption></figure>

| **Option**                       | **Meaning**                           | **Best For**                                                 |
| -------------------------------- | ------------------------------------- | ------------------------------------------------------------ |
| After date/time → Visible from   | Content UNLOCKS when timer hits zero. | Product launches, pre-order opens, sale starts               |
| Before date/time → Visible until | Content LOCKS when timer hits zero.   | Flash sale endings, limited-time offers, countdowns to close |

6\. Select a date on the calendar and choose the target time.

| **⚠️  Note:**  Time is based on your Shopify store's timezone. Check Store details if the timer appears incorrect. |
| ------------------------------------------------------------------------------------------------------------------ |

#### &#x20;2. **Enable Clock Countdown** &#x20;

1. Check the Use clock countdown checkbox at the bottom of the Date & Time section.
2. Click Setup message lock to open the customization panel.

The Preview & customize message panel opens with a live Preview on the right.

3. #### Write Your Countdown Message&#x20;

Write your message text in the Message section. Use the {timer} placeholder to insert the live countdown.

1. Click in the message text field.
2. Type your message — for example: 'This page will unlock in: {timer}'
3. Click the + Timer button to insert the {timer} placeholder at the cursor position if needed.
4. Check the Preview on the right to see how your message looks.

&#x20;

<figure><img src="/files/hTxxtXZSL31NQgiXfyR9" alt="Figure 2 — Message section: text field with &#x27;{timer}&#x27; placeholder. Preview shows &#x27;This page will unlock in: 00h 00m 00s&#x27; with a lock icon."><figcaption><p>Figure 2 — Message section: text field with '{timer}' placeholder. Preview shows 'This page will unlock in: 00h 00m 00s' with a lock icon.</p></figcaption></figure>

| <p><strong>��  Tip — Message Ideas</strong></p><p>'This page will unlock in: {timer}'  — clean and direct</p><p>'New collection launches in {timer} — get ready!'  — excitement-building</p><p>'Sale ends in {timer} — don't miss out!'  — urgency-driving</p><p>'Early access opens in {timer}'  — VIP/exclusive feel</p> |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

#### &#x20;4. Customize Layout&#x20;

Expand the Layout section to control positioning and size on desktop and mobile.

<figure><img src="/files/u7wXBF0vl88UVQojacDZ" alt="Figure 3 — Layout section: Desktop width (50%), layout (Horizontal/Vertical), alignment, Mobile width (100%), and Mobile layout controls. Preview updates in real time."><figcaption><p>Figure 3 — Layout section: Desktop width (50%), layout (Horizontal/Vertical), alignment, Mobile width (100%), and Mobile layout controls. Preview updates in real time.</p></figcaption></figure>

| **Setting**    | **Options**           | **Recommended**                                        |
| -------------- | --------------------- | ------------------------------------------------------ |
| Desktop width  | 0–100% (slider)       | 50% for a centered, focused timer block                |
| Desktop layout | Horizontal / Vertical | Horizontal for short messages; Vertical for multi-line |
| Desktop align  | Start / Center / End  | Center for most layouts                                |
| Mobile width   | 0–100% (slider)       | 100% — fills the screen width on mobile                |
| Mobile layout  | Horizontal / Vertical | Vertical works best on narrow screens                  |
| Mobile align   | Start / Center / End  | Center for consistency with desktop                    |

&#x20;5\. Customize Design (Colors & Fonts)&#x20;

Expand the Design section to control the visual appearance of your countdown timer.

<figure><img src="/files/prI9Hpxdl9DCFelbaVQA" alt="Figure 4 — Design section: Text font and Timer font (Theme font), Text color (#000000), Timer color (#000000), Background color (toggle off), and Custom CSS section."><figcaption><p>Figure 4 — Design section: Text font and Timer font (Theme font), Text color (#000000), Timer color (#000000), Background color (toggle off), and Custom CSS section.</p></figcaption></figure>

| **Setting**      | **What It Controls**                      | **Tips**                                                        |
| ---------------- | ----------------------------------------- | --------------------------------------------------------------- |
| Text font        | Font used for your message text           | Use 'Theme font' to match your store design automatically       |
| Timer font       | Font used for the countdown digits        | Consider a bold/monospace font for easy readability             |
| Text color       | Color of the message text                 | Toggle On to activate and pick a color                          |
| Timer color      | Color of the timer digits                 | Use your brand's accent color or red for urgency                |
| Background color | Background behind the countdown block     | Toggle Off to use transparent; toggle On to add a colored block |
| Custom CSS       | Override default styles with your own CSS | Advanced users only                                             |

#### &#x20;6. Save & Test

1. Click Save inside the Preview & customize message panel.
2. Click Save again on the main rule/lock page.
3. Open your storefront in a private/incognito browser window.
4. Navigate to a page or product covered by the lock.
5. Verify the countdown timer appears and is counting down in real time.
6. Wait for the timer to reach zero and confirm the content unlocks automatically.

&#x20;

<figure><img src="/files/UwaeLwgnsXXrUmP6wCRv" alt="Figure 5 — Product page: &#x27;The price will unlock in: 00h 08m 25s&#x27; appears above the product. Add to cart and Buy it now buttons are disabled until the timer expires."><figcaption><p>Figure 5 — Product page: 'The price will unlock in: 00h 08m 25s' appears above the product. Add to cart and Buy it now buttons are disabled until the timer expires.</p></figcaption></figure>

<figure><img src="/files/VicIVJFAGZxF8Yldccoq" alt="Figure 6 — Full page lock: &#x27;This page will unlock in: 09h 25m 32s&#x27; centered on the locked page. Content is hidden until the timer expires."><figcaption><p>Figure 6 — Full page lock: 'This page will unlock in: 09h 25m 32s' centered on the locked page. Content is hidden until the timer expires.</p></figcaption></figure>

| <p><strong>✅  Verification Checklist</strong></p><p>Countdown timer appears on the correct pages — ✓</p><p>Message text matches what you configured — ✓</p><p>Timer is counting down (updates every second) — ✓</p><p>Desktop layout and alignment look correct — ✓</p><p>Mobile view looks correct (test on a phone or resize browser) — ✓</p><p>Content unlocks automatically when timer reaches zero — ✓</p> |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

## **Real-World Examples**

| <p><strong>Example 1 — Product Launch Countdown (New Shoe Collection)</strong></p><ol><li>Create a lock → select the new shoe collection.</li><li>Grant Access To: Date & time → 'After date/time' → set to March 1, 2026 at 10:00 AM.</li><li>Check 'Use clock countdown' → click Setup message lock.</li><li>Message: 'New collection launches in {timer}'</li><li>Design: Bold timer font, brand accent color.</li><li>Save both the panel and the main rule page.</li></ol><p><strong>Result:</strong> Customers see 'New collection launches in 2d 5h 30m' and cannot access products until launch — builds anticipation and drives traffic.</p> |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| <p><strong>Example 2 — Flash Sale Countdown (Sale Ending Tonight)</strong></p><ol><li>Create a lock → select Flash Sale Collection.</li><li>Grant Access To: Date & time → 'Before date/time' → set to Tonight at 11:59 PM.</li><li>Check 'Use clock countdown' → click Setup message lock.</li><li>Message: 'Sale ends in {timer} — Don't miss out!'</li><li>Design: Timer color set to red (#FF0000) for urgency.</li><li>Save both the panel and the main rule page.</li></ol><p><strong>Result:</strong> Customers see the red countdown and rush to purchase before the sale ends — creates urgency and boosts conversions.</p> |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |

| <p><strong>Example 3 — VIP Early Access (Members Only Preview)</strong></p><ol><li>Create a lock → select the VIP Preview collection.</li><li>Grant Access To: Date & time → 'After date/time' → set to the early access start time.</li><li>Check 'Use clock countdown' → click Setup message lock.</li><li>Message: 'VIP early access opens in {timer}'</li><li>Design: Brand colors, clean centered layout.</li><li>Save both the panel and the main rule page.</li></ol><p><strong>Result:</strong> VIP members see how long until early access opens, while general visitors see the same timer — building anticipation across all buyer types.</p> |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

## **Timer Format Reference**

The {timer} placeholder auto-formats based on remaining time — no configuration needed:

| **Time Remaining** | **Display Format** | **Example**   |
| ------------------ | ------------------ | ------------- |
| More than 1 day    | Xd Xh Xm Xs        | 2d 5h 30m 15s |
| Less than 1 day    | Xh Xm Xs           | 5h 30m 15s    |
| Less than 1 hour   | Xm Xs              | 30m 15s       |
| Less than 1 minute | Xs                 | 45s           |

| **⚠️  Note:**  The timer updates every second automatically. No page refresh is needed. When it reaches zero, the content unlocks immediately. |
| ---------------------------------------------------------------------------------------------------------------------------------------------- |

## **Common Issues & Fixes**

| **What You See**                                   | **Why It Happens**                                                   | **What to Do**                                                                                                                       |
| -------------------------------------------------- | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| No timer visible on the storefront.                | Clock countdown is not checked, or {timer} is missing from message.  | Re-open the lock → Date & Time section → check 'Use clock countdown'. Re-open Setup message lock and confirm {timer} is in the text. |
| Timer shows wrong time or timezone.                | Shopify store timezone is set incorrectly.                           | Go to Shopify Admin → Settings → Store details → update your timezone.                                                               |
| Timer counts up instead of down.                   | The target date is in the past.                                      | Edit the lock → update the Date & Time to a future date/time.                                                                        |
| Content does not unlock when timer hits zero.      | The lock has another access condition blocking it.                   | Review the full lock summary. Remove any additional conditions that may prevent unlocking.                                           |
| Timer layout looks wrong on mobile.                | Mobile width is set too narrow.                                      | Re-open Setup message lock → Layout → set Mobile width to 100%.                                                                      |
| Custom CSS is not applying.                        | CSS may have a syntax error, or it is overriding the wrong selector. | Double-check your CSS syntax. Try a simple test rule first.                                                                          |
| Timer message shows the raw placeholder '{timer}'. | The message was saved without the live preview loading.              | Re-open Setup message lock, verify {timer} is in the text, and click Save.                                                           |

## **Still Need Help?**

Contact support via the app or at **<support-sbc@bsscommerce.com>**

• Click Chat support in the help panel visible on the lock editor page.

• Or email **<support-sbc@bsscommerce.com>** with the details below.

When contacting support, include:

• Your shop URL (e.g. yourstore.myshopify.com)

• The rule name using the countdown

• A screenshot of the customization panel

• The date and time you are targeting

| <p><strong>��  Try This First</strong></p><p>Confirm 'Use clock countdown' is checked in the Date & Time section of your lock.</p><p>Confirm {timer} appears in your message text.</p><p>Save BOTH the customization panel AND the main lock page — two separate Saves are required.</p><p>Test in a private/incognito window to see the live storefront result.</p> |
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

<br>

&#x20;


---

# 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-shpf.bsscommerce.com/bss-b2b-lock-login-password-hide-price/other-locks/countdown-lock.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.
