Free Countdown Timer Bar Section for ShopifyNo app. Copy, paste, done.

  • Online Store 2.0
  • No app
  • Theme Check: 0 errors
  • MIT license

The Stackframes countdown timer bar is a free Shopify section that counts down to a real sale end date you set, in your store's time zone. When the time runs out it hides itself or shows your "sale ended" message. It never restarts for each visitor, which keeps the urgency honest. Paste it into your theme, set the date, and it runs with a few lines of JavaScript and no app.

Live preview with sample content. Once installed, fonts follow your theme and colours are editable in the theme editor.

Want it matched to your brand?We'll customise it for you
/01 INSTALL

Add the Countdown Timer Bar to your theme

About two minutes. No app, no monthly fee.

Prefer a walkthrough? See the full installation guide.

  1. STEP 01

    Duplicate your theme

    In Shopify admin go to Online Store → Themes. Next to your current theme click ⋯ → Duplicate. Make every change on the copy.

  2. STEP 02

    Create the section file

    On the copy, click ⋯ → Edit code. In the sections folder click “Add a new section”, choose Liquid, name it sf-countdown-timer-bar and create it. Delete the starter code, paste ours, then click Save.

  3. STEP 03

    Add it to a page

    Click Customize, open the template you want, click “Add section” and choose “SF countdown bar”. Edit the text, blocks and colours in the sidebar, then Save.

  4. STEP 04

    Check it, then publish

    Preview on mobile and desktop. When you are happy, publish the duplicate theme.

/02 SETTINGS

What you can change in the theme editor

Section settings
SettingTypeDefault
MessageTextSummer sale ends in
End dateFormat YYYY-MM-DD, e.g. 2026-12-31. Leave empty to hide the bar.Text—
End time24-hour format HH:MM, e.g. 09:00 or 23:59.Text23:59
Time zone (UTC offset)Use your store's time zone so the sale ends at the right moment.DropdownUTC (London winter, Lisbon winter)
Show daysCheckboxOn
Link labelTextShop the sale
LinkLink—
When the countdown endsDropdownHide the bar
Ended messageTextThis sale has ended. Thanks for shopping with us.
BackgroundColour#111827
TextColour#ffffff
NumbersColour#fcd34d
Vertical paddingSlider10px

This section is one piece of a custom theme.

We design and build complete Shopify themes around your brand.

See what we build
/03 QUESTIONS

Common questions

Does the timer reset for each visitor?

No. It counts down to the single end date and time you set, the same for every shopper. Timers that restart for each visitor are misleading, so this one never does.

What happens when the countdown ends?

You choose: hide the bar, or replace it with a message such as "This sale has ended." Pages rendered after the end date don't show the timer at all.

Which time zone does it use?

The UTC offset you pick in the settings. Choose your store's offset, and remember to update it if daylight saving time changes during the sale.

Where should I put the bar?

Most stores add it above the header or at the top of the home and collection pages. Add it to any template in the theme editor.

NEED MORE THAN A SECTION?

Get a Shopify theme built around your brand

Custom sections, a full theme build, or changes to the theme you already have. Tell us what your store needs and we'll scope it with you.

Not affiliated with or endorsed by Shopify Inc. Shopify is a trademark of Shopify Inc.