On this page
What this issue is
A promo bar (also called an announcement bar or top banner) is a strip at the top of a page that shows an offer such as "20% off until Sunday" or "Free shipping this week". The issue is when that strip keeps showing after the offer has ended. The text is out of date, the code may no longer work, or the countdown has hit zero.
Why it costs you leads or sales
Visitors read the banner first. If the offer is dead, one of three things happens: they try the code and it fails at checkout, they leave because the deal is gone, or they lose trust in the rest of the site. Some will contact support or ask for the price anyway, which costs you time and sometimes margin.
- Visitor landsSees "Sale ends Sunday" days after it ended
- Promo barOffer is expired but still shown
- Code enteredCheckout says the code is invalid
- PurchaseVisitor abandons or emails support
The visitor trusts the banner, then hits a failed code at checkout.
Example: illustrative numbers showing how a failed code can lower checkout completion among visitors who tried it.
How to check if your site has it
Do not only look at your homepage. Banners often appear on product, cart and landing pages too, and different devices can show different versions.
- Open the homepage, a product page, the cart and your top landing pages in a private window.
- Check desktop and mobile widths.
- Search the page text (Ctrl+F or Cmd+F) for the old offer words: the code, the percentage, the month or the event name.
- Look for countdown timers that show zero or negative time.
- Check pages in other languages or regions if you have them.
- Open the site from a different network or device to rule out your own cache.
How to fix it
The steps are the same everywhere: find where the banner is set, change it, clear caches, and add an end date for next time. The place you edit depends on the platform.
Find every source
Search your theme settings, popup or banner plugin, page builder global sections and any custom header file for the old offer text.
Replace or remove it
Delete the banner or swap in the current message. If there is no current offer, hide the bar entirely rather than leaving an empty strip.
Clear caches
Purge your site cache, CDN cache and any caching plugin so visitors do not get the old HTML.
Check the code too
Make sure the discount code is disabled or set to expire in your store, so an old link cannot still apply it unexpectedly.
Set an end date for the next offer
Use a scheduled display or a calendar reminder tied to the offer end time.
Check the theme and plugins
Go to Appearance > Customize (or Site Editor) and look for a header or announcement section. Also check any banner or popup plugin under its own menu.
Check reusable blocks and widgets
Look in Appearance > Widgets and in reusable patterns for a copy of the banner.
Purge the cache
Clear your caching plugin and CDN after saving.
Open the theme editor
Go to Online Store > Themes > Customize and select the Announcement bar section in the header group. Edit the text or remove the block.
Check apps
If you use a banner or countdown app, open the app and disable the campaign there as well.
Disable the discount
Go to Discounts and set an end date or deactivate the code.
Look for injected banners
If a Custom HTML tag or third-party tool injects the bar, open the tag in your container and pause or edit it.
Add a schedule
For the next offer, use a trigger condition or a date check in the script so it stops after the end time.
Publish
Preview, then submit and publish the container version.
Find the banner element
Open the Navigator and look for the banner in the page or in a Symbol (component) used site-wide.
Edit or hide it
Update the text, or set the element's display to none and publish.
Check each funnel and website
Open the funnel or website builder and look at the header section on every page, plus any popup elements.
Update and publish
Edit or delete the banner and publish each affected page.
Open the editor
Look for a strip or header element with the offer, and check the Mobile editor separately.
Edit and publish
Change or delete the strip, then publish the site.
Use the announcement bar setting
Go to Website > Pages > Website Tools > Announcement Bar (menu names can vary by version) and turn it off or update it.
Check code injection
Look in Settings > Advanced > Code Injection for scripts that add a banner.
Search the codebase
Search templates and partials for the offer text or banner class name.
Auto-hide after the end time
Add a date check so the banner hides itself, as in the snippet below.
<div id="promo-bar" data-ends="2025-12-01T23:59:00Z">Winter sale: 20% off with code WINTER20</div>
<script>
(function () {
var bar = document.getElementById('promo-bar');
if (!bar) return;
var ends = new Date(bar.getAttribute('data-ends'));
if (Date.now() > ends.getTime()) {
bar.style.display = 'none';
}
})();
</script>Before
- Banner advertises a sale that ended last week
- Code fails at checkout
- Support gets "your code doesn't work" emails
After
- Banner removed or showing the live offer
- Old code disabled in the store
- Next offer has a set end date
How to confirm it's fixed
- Reload key pages in a private window after purging caches.
- Search page text for the old offer words and confirm they are gone.
- Check mobile and desktop.
- Try the old code at checkout and confirm it is rejected or removed.
- Check any email or ad landing pages that reuse the banner.
How to prevent it happening again
Before launch
Write the start and end time next to the banner text in your campaign plan.
Launch
Schedule the banner and the discount code with the same end time.
End time
Banner hides and code stops working together.
Day after
Someone checks the live site and clears caches.
If skipped
Banner stays up for days or weeks with a dead offer.
Name one person as owner of each campaign's take-down. Prefer tools with built-in scheduling over manual removal. Use generic evergreen wording when you can, such as "Free shipping over $50", for offers that do not expire.
How FunnelGuard handles this
FunnelGuard detects this today with a text-absence check. You give it the offer text that should no longer appear (for example the old code or sale name) and the pages to look at. A robot visitor loads those pages on a schedule and alerts you if that text is still present. A failure is re-checked from a second region before one alert goes out, with a screenshot and a likely cause.
It checks for text you specify, so it will not spot an expired offer you did not tell it about. The Free plan covers 1 site and 2 journeys with daily checks and no card, and paid plans include a 3-day free trial.
Questions people ask
Why is my promo bar still showing after the sale ended?
Most often the banner was added manually and nobody removed it, or it exists in more than one place such as the theme, an app and a page builder template. Cached pages can also keep serving the old banner after you edit it. Search all sources, then purge your cache.
How do I automatically remove a promo bar after a certain date?
Use a banner or popup tool that supports start and end dates, or add a small script that hides the bar after a set time. Set the same end time on the discount code in your store so both stop together.
Is it bad to leave an expired offer on my website?
Yes. Visitors may try a code that fails, lose trust in your site, or contact support. In some regions, advertising a deal that no longer applies can also cause legal issues, so check the rules where you sell.
Why can I still see the old banner after I deleted it?
Your site cache, CDN or browser is probably serving a saved copy. Purge the caching plugin and CDN, then reload in a private window. Also check that no app or tag manager script is injecting the banner.
Where do I edit the announcement bar in Shopify?
Go to Online Store > Themes > Customize and open the Announcement bar section in the header. Edit or remove the text there. If you use a banner app, disable the campaign inside the app too.
How can I monitor my site for outdated promotions?
Check key pages by searching for the old offer wording after each campaign, or use a monitor that looks for specific text. FunnelGuard can load your pages on a schedule and alert you if text you listed as expired is still present.
Should I also disable the discount code when the offer ends?
Yes. Set an end date or deactivate the code in your store so it cannot be used by people with old links or emails. Removing only the banner leaves the code live.
Related issues
- CNV-112Popup covers the form or CTA and can't be closedFix guide
- CNV-114Popup reappears on every pageFix guide
- CNV-123Spin-to-win coupon never delivers a codeFix guide
- CNV-116Popup form submits but lead goes nowhereFix guide
- CNV-113Close (X) button missing or off-screen on mobileFix guide
- CNV-115Exit-intent popup never firesFix guide