
Burkisoy BF+NY
A stylized testimonial-style announcement card that features a verified author badge, a profile avatar, and a built-in FOMO countdown timer. It includes an automated message indicating a discount has been applied to encourage immediate conversion during holiday sales.
- Real-time JS countdown timer loop
- Google Material Symbols integration
- Verified buyer badge styling
- Responsive mobile-first CSS design
- Success notification for auto-applied discounts
- Promoting combined Black Friday and New Year sales events.
- Increasing conversion rates via scarcity and social proof on landing pages.
- Most Shopify themes
The code
1<!DOCTYPE html>2<html lang="en">3<head>4 <meta charset="UTF-8">5 <meta name="viewport" content="width=device-width, initial-scale=1.0">6 <title>Customer Review</title>7 <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&icon_names=check|verified|content_copy" />8 <style>9 body.unique-body-QwErTy123 {10 display: flex;11 justify-content: center;12 align-items: center;13 flex-direction: column;14 height: 100vh;15 margin: 0;16 background: linear-gradient(135deg, #fafafa, #e0e0e0);17 position: relative;18 }1920 .unique-review-container-Uio123 {21 display: flex;22 align-items: center;23 background-color: #fafafa;24 border-radius: 12px;25 padding: 16px;26 font-size: 14px;27 color: #333;28 max-width: 600px;29 width: 100%;30 margin: 2px 0;31 border: 2px dashed #e0e0e0;32 position: relative;33 }3435 .unique-review-image-Pkl456 {36 width: 50px;37 height: 50px;38 border-radius: 8px;39 object-fit: cover;40 margin-right: 16px;41 border: 2px solid #e0e0e0;42 }4344 .unique-review-content-Asd789 {45 display: flex;46 flex-direction: column;47 width: 100%;48 }4950 .unique-review-author-Hjk012 {51 display: flex;52 align-items: center;53 margin-bottom: 8px;54 }5556 .unique-review-author-name-Zxc345 {57 font-weight: bold;58 margin-right: 4px;59 display: flex;60 align-items: center;61 }6263 .unique-review-icon-Lmn678 {64 font-size: 16px;65 color: #1DA1F2;66 margin-left: 4px;67 vertical-align: middle;68 }6970 .unique-review-text-Qwe567 {71 font-size: 14px;72 color: #555;73 }7475 .timer-container-Rty234 {76 position: absolute;77 top: 8px;78 right: 16px;79 background: #ffdede;80 color: #b22222;81 padding: 4px 8px;82 border-radius: 4px;83 font-size: 10px;84 font-weight: bold;85 }8687 #countdown {88 font-weight: bold;89 color: #b22222;90 }9192 .discount-text-Opa789 {93 margin-top: 20px;94 text-align: center;95 font-size: 14px;96 color: #004d00; /* Metin ve ikon koyu yeşil */97 background-color: #e6ffe6; /* Çok açık yeşil arka plan */98 padding: 10px 16px;99 border-radius: 8px;100 width: fit-content;101 display: flex;102 align-items: center;103 justify-content: center;104 gap: 8px; /* İkon ve metin arasındaki boşluk */105 }106107 .unique-tick-icon-Vbn012 {108 font-size: 18px;109 color: #004d00; /* Check ikonuyla metin aynı renk */110 }111112 @media (max-width: 768px) {113 .timer-container-Rty234 {114 font-size: 8px;115 padding: 3px 6px;116 }117118 .discount-text-Opa789 {119 font-size: 12px;120 padding: 8px 12px;121 }122123 .unique-review-container-Uio123 {124 padding: 12px;125 font-size: 12px;126 }127128 .unique-review-text-Qwe567 {129 font-size: 12px; /* Mobil versiyonda metin boyutu küçültüldü */130 }131 }132 </style>133</head>134<body class="unique-body-QwErTy123">135136<div class="unique-review-container-Uio123">137 <div class="timer-container-Rty234">138 Time left: <span id="countdown">00:00:00</span>139 </div>140141 <img class="unique-review-image-Pkl456" src="https://i.hizliresim.com/je7b0fg.jpg" alt="Profile Picture">142 <div class="unique-review-content-Asd789">143 <div class="unique-review-author-Hjk012">144 <span class="unique-review-author-name-Zxc345">145 Burkisoy146 <span class="unique-review-icon-Lmn678 material-symbols-outlined">verified</span>147 </span>148 </div>149 <div class="unique-review-text-Qwe567">150 We’ve mixed Black Friday and New Year’s deals just for you. Grab a big $245 off!151 </div>152 </div>153</div>154155<div class="discount-text-Opa789">156 <span class="material-symbols-outlined unique-tick-icon-Vbn012">check</span>157 <span>Discount code applied automatically.</span>158</div>159160<script>161 const code = "BF24";162163 // Countdown timer logic164 let countdownMinutes = 40;165166 function startCountdown() {167 let countdownDate = new Date().getTime() + countdownMinutes * 60 * 1000;168169 function updateCountdown() {170 let now = new Date().getTime();171 let distance = countdownDate - now;172173 let hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));174 let minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));175 let seconds = Math.floor((distance % (1000 * 60)) / 1000);176177 document.getElementById("countdown").innerHTML =178 (hours < 10 ? "0" + hours : hours) + ":" +179 (minutes < 10 ? "0" + minutes : minutes) + ":" +180 (seconds < 10 ? "0" + seconds : seconds);181182 if (distance < 0) {183 clearInterval(countdownInterval);184 startCountdown();185 }186 }187188 let countdownInterval = setInterval(updateCountdown, 1000);189 }190191 startCountdown();192</script>193194</body>195</html>
How to install Burkisoy BF+NY on your Shopify theme
This snippet belongs in sections/announcement-bar.liquid (or the top of layout/theme.liquid), directly above your header so it renders on every page. Expect the whole job to take about 5–10 minutes.
- 1From your Shopify admin, open Online Store → Themes, click the … button on your live theme and choose Duplicate. Always work on a copy so you can roll back instantly.
- 2On the duplicated theme, click … → Edit code to open the theme code editor.
- 3Open sections/announcement-bar.liquid (or the top of layout/theme.liquid) in the file tree. If your theme uses different file names, search for the template that renders the area where you want the block to show up.
- 4Click Copy code on this page, then paste the snippet directly above your header so it renders on every page.
- 5The snippet ships with its own scoped
<style>block, so you do not need to touchbase.cssortheme.css. If you prefer to keep CSS centralised, move the contents of the style tag into your theme stylesheet and delete the inline block. - 6Keep the
<script>tag at the end of the snippet. It only runs once the surrounding markup exists in the DOM, so moving it higher up the file can break the behaviour. - 7Click Save, then hit Preview and check the block on desktop, tablet and mobile widths.
- 8When you are happy with the result, publish the duplicated theme from Online Store → Themes → Actions → Publish.
How to customise it
Every value below lives inside the snippet, so you can adapt Burkisoy BF+NY to your brand without touching the rest of the theme.
- Colours — the snippet uses
#fafafa,#e0e0e0,#333,#1DA1F2. Replace those values inside the style block with your brand palette, keeping at least a 4.5:1 contrast ratio between text and background so the block stays accessible. - Gradient — swap the
linear-gradient(...)declaration for a flat background colour if you want a more minimal, theme-native look. - Sizing — adjust the font-size values (14px, 16px, 10px) and the padding so the block carries the same visual weight as the elements around it.
- Corners —
border-radius: 12pxcontrols the roundness. Set it to 0 for a sharper editorial look, or increase it for a softer, app-like feel. - Images — replace the placeholder image URLs with your own assets. Upload them under Content → Files in Shopify admin and use the generated CDN URL, or reference a theme asset with
{{ 'my-image.png' | asset_url }}. - Copy — rewrite the hard-coded text (for example “Customer Review”) in your own brand voice, and translate it if you sell in more than one language.
- Timing — the countdown duration is set in the script. Change the target time or the interval value to control how long the offer runs before it resets.
- Responsive behaviour — the
@mediaquery defines the mobile breakpoint. Adjust the pixel value if your theme uses a different breakpoint scale.
Common mistakes to avoid
These are the issues merchants run into most often when installing a snippet like this one.
- Editing the live theme directly. Duplicate it first — a single unbalanced Liquid tag can take a storefront down mid-campaign.
- Pasting the code into the wrong file. Dropped into
layout/theme.liquidinstead ofsections/announcement-bar.liquid, this block will render on every page of the store, including ones where it makes no sense. - Renaming the CSS classes in the markup but not in the style block, or vice versa. The class names have to match exactly or the styling silently disappears.
- Adding the snippet twice on the same page. The script targets its selector, so two copies can conflict or double-fire.
- Leaving the demo images in place. They are hosted on third-party domains, can disappear at any time and slow the page down. Re-upload them to Shopify Files before going live.
- Running a countdown that resets on every page load and never actually expires. Shoppers notice fake urgency, and in the EU and UK it can breach consumer-protection rules.
- Publishing without testing on a real phone. Most Shopify traffic is mobile, and layout problems almost always surface there first.
Performance notes
What this block costs you in load time, and how to keep that cost at zero.
- The CSS is inline and scoped to this block, so it adds no extra network request. At a few kilobytes it has no measurable effect on your Lighthouse score.
- The JavaScript is vanilla — no jQuery, no external library, no additional request. Keep it after the markup so it never blocks rendering.
- Add
loading="lazy"plus explicit width and height attributes to every image in the snippet. That prevents Cumulative Layout Shift, which is a Core Web Vitals ranking factor. - Third-party image URLs bypass the Shopify CDN and add extra DNS lookups. Self-hosting those assets usually saves 100–300ms on first paint.
- Run PageSpeed Insights before and after you add the block so you have a concrete number rather than a guess.
SEO & accessibility
How to add this block without damaging your on-page structure or your rich results.
- Nothing in this snippet should replace your page
<h1>. Keep product and page headings intact and use<h2>or<h3>for the block's own heading so the document outline stays clean. - Write a descriptive alt attribute for every image. Empty or generic alt text is one of the most common accessibility and SEO issues on Shopify stores.
- If the block shows review or rating content, keep it consistent with the structured data your review app already outputs. Duplicating or contradicting rating markup can cost you the rich result entirely.
- The block does not create a new URL, so there is no canonical or indexing change to make. It improves on-page engagement signals rather than crawlability.
Burkisoy BF+NY — questions merchants ask
Will this snippet work with my theme?
It is built with standard Liquid, HTML and CSS, so it works with Dawn and virtually every Online Store 2.0 theme, as well as most vintage themes. The only thing that changes between themes is the file you paste it into — if yours has no sections/announcement-bar.liquid, look for the equivalent template that renders the same area.
Do I need an app to use it?
No. This is theme code you own outright: no monthly fee, no third-party script tag, and no app that can break your storefront the next time it updates.
How long does it take to add “Burkisoy BF+NY” to a store?
Most merchants have it live in under fifteen minutes — duplicate the theme, paste the code, adjust the colours and copy, preview on mobile, publish.
The block appears but nothing happens. What is wrong?
That is almost always a script-order problem. Check that the script tag is still at the bottom of the snippet and that the markup was not pasted inside another script or a Liquid comment block. Open your browser console and look for an error naming the snippet's selector.
The styling looks broken after pasting. How do I fix it?
Confirm you copied the whole snippet including the closing style tag, then check whether one of your theme's own CSS rules is overriding it. If a theme rule wins, increase the specificity of the snippet's selector rather than scattering !important through the file.
Will it slow my store down?
Not meaningfully. It is inline markup with scoped CSS and at most a few lines of vanilla JavaScript — no external libraries, no extra HTTP request. Optimising your product images will always have a far bigger impact on load time.
Can I use it on a client store or a commercial project?
Yes. Every snippet in the MCO Hub library is free to copy, modify and ship on any store, including client work. Attribution is appreciated but not required.
Related snippets
Keep exploring
Guides
Shopify Liquid
Templates
Tools



