Strange “Out of Stock” Error Above Header (Search Bar Issue)

Topic summary

Issue: A phantom search bar appears above the header on most pages showing an “Out of Stock” message; product pages are unaffected. Multiple merchants report it, primarily on the Flow theme, with no recent store changes.

Scope/Cause: Evident theme-level glitch in Flow, likely triggered by a recent Shopify update. The conflict involves Dynamic checkout buttons causing the cart drawer to render incorrectly and surface the out‑of‑stock notice in the header area.

Workaround (confirmed):

  • In Shopify admin: Customize > Theme settings > Cart
  • Disable “Enable dynamic checkout buttons”
    This removes the error for affected stores.

Other fixes: A developer team resolved the issue on the original store and asserts it’s a Flow theme bug; they mention an alternative theme-level solution but did not provide public details.

Assets: A screenshot is central to understanding the misplaced UI (search bar/out-of-stock banner above header).

Status: OP’s store fixed; user-level workaround available. A permanent theme-level fix remains undisclosed publicly; another participant requested sharing a code-level solution. Discussion remains open for a robust, theme-integrated patch.

Summarized with AI on December 18. AI used: gpt-5.

Hi everyone,

I’m facing a strange issue with my Shopify store that I’ve never encountered in my six years of running online shops. Here’s a quick summary:

The Issue:

There is a search bar displaying above the header on all my pages, except on individual product pages. The search bar shows that a product is “Out of Stock”, but I can’t even see which product it’s referring to. It’s pretty weird, and I’m not sure where this is coming from. (dr-owl.com)

What I’ve Tried:

  • I’ve tried several QuickFixes with ChatGPT, including debugging Liquid and JavaScript code. I even reverted all the changes I made before the problem appeared, but the issue is still there.

  • I suspect it might be due to JavaScript not loading correctly, but I’m not entirely sure.

Recent Changes:

  • Added a WhatsApp Share button and a Copy-to-Clipboard function via updates to settings_schema.json and JavaScript. I have since reverted these changes, but the issue persists.

Screenshot:

Here’s an image showing the search bar issue above the header, saying a product is out of stock (even though I can’t tell which product).

Request for Help:

Has anyone experienced something like this or could give me a pointer on how to fix it? I’d appreciate any guidance, as this is something I haven’t come across before. Thanks in advance!

Woke up, saw this same exact problem. Did you fix it?

1 Like

We both still have this issue.
im using the FLOW theme from eight themes.

how on earth can this happen without any recent changes?

1 Like

I am facing same issue did you find any solution ?

1 Like

I hired some experts from upwork to fix it, they are still working on it, and i will Update you as soon as i got a solution. I also have the flow theme so this seems to be the cause, not an app or anything else

Hi Max,

Wajahat here from Swishtag (Shopify plus development company). We have been in the conversation.

Quick Updates: We have efficiently fixed the issue on your store. Now there is no “Out of Stock” error on any of your page.

Hi @hem0903 can you share me the screenshot of the issue or share me the store URL. I have already fixed the issue of @dr_max_owl 's error and can resolve yours as well. We’re Shopify experts who help businesses of all sizes build, grow, and scale their online stores.

Hi @Denislisa , I believe this is an issue with the theme overall. Fortunately, @dr_max_owl highlighted the issue to us, and we were able to fix it right away. This is a glitch in the FLOW theme, which can seriously impact your store’s performance if not addressed in time.

If you are still having the same issue, just ping me and I can help you out.

Best,

Wajahat (Swishtag)

Shopify Expert

I FIXED IT.

SOLUTION:

1. Disable Dynamic Checkout Buttons
You can temporarily disable the ‘Dynamic checkout buttons’ in the cart by following these steps:

  • Go to Customize in your Shopify admin.
  • Navigate to Theme settings > Cart.
  • Disable the option to Enable dynamic checkout buttons.

——————-

It appears that Shopify’s recent update to the ‘Dynamic checkout buttons’ has caused a conflict that’s affecting the header in your theme. Specifically, the dynamic checkout button is causing the cart drawer to render incorrectly.

Se my reply above with a simple solution

Se my solution above.

I’ve fixed it:

It appears that Shopify’s recent update to the ‘Dynamic checkout buttons’ has caused a conflict that’s affecting the header in your theme. Specifically, the dynamic checkout button is causing the cart drawer to render incorrectly.

disable dynamic cart in the theme setting

That’s great, but we’ve found another solution to this problem and have helped fix it

Would you be open to discussing the fix in the theme itself? A client of ours is having the same issue.