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

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

dr_max_owl
Visitor
2 0 0

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)

 

Bildschirmfoto 2024-09-25 um 02.04.22.png

 

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!

Replies 13 (13)

Denislisa
Excursionist
11 0 7

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

Denislisa
Excursionist
11 0 7

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

how on earth can this happen without any recent changes?

 

hem0903
Excursionist
32 0 6

I am facing same issue did you find any solution ?

dr_max_owl
Visitor
2 0 0

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

wajahatanwar
Shopify Partner
14 1 5

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.

Denislisa
Excursionist
11 0 7

Se my solution above.

 

wajahatanwar
Shopify Partner
14 1 5

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.

Denislisa
Excursionist
11 0 7

Se my reply above with a simple solution 

wajahatanwar
Shopify Partner
14 1 5

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

Denislisa
Excursionist
11 0 7

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

wajahatanwar
Shopify Partner
14 1 5

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

blackatlasyxe
Visitor
3 0 0

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

Denislisa
Excursionist
11 0 7

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.