Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Promo bar showing an expired offer: how to find and fix it

CNV-122Medium impactDetectedBy FunnelGuardPublished Updated
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.

How an expired banner loses a sale
  1. Visitor landsSees "Sale ends Sunday" days after it ended
  2. Promo barOffer is expired but still shown
  3. Code enteredCheckout says the code is invalid
  4. PurchaseVisitor abandons or emails support

The visitor trusts the banner, then hits a failed code at checkout.

Checkout completion by banner stateExample numbers
Checkout completion by banner state (example)Current offer: 60 %; No banner: 55 %; Expired offer: 30 %02346605530Current offerNo bannerExpired offer%

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.

Manual check
  • 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.

Remove the expired offer
  1. 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.

  2. 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.

  3. Clear caches

    Purge your site cache, CDN cache and any caching plugin so visitors do not get the old HTML.

  4. 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.

  5. Set an end date for the next offer

    Use a scheduled display or a calendar reminder tied to the offer end time.

Where to edit the promo bar
  1. 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.

  2. Check reusable blocks and widgets

    Look in Appearance > Widgets and in reusable patterns for a copy of the banner.

  3. Purge the cache

    Clear your caching plugin and CDN after saving.

Hide a promo bar after its end timehtml
<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>
Promo bar before and after

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

Confirmation
  • 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

A safe offer lifecycle
  1. Before launch

    Write the start and end time next to the banner text in your campaign plan.

  2. Launch

    Schedule the banner and the discount code with the same end time.

  3. End time

    Banner hides and code stops working together.

  4. Day after

    Someone checks the live site and clears caches.

  5. 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.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: text_absent.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.