Add to cart button takes a long time to appear

Topic summary

Add to cart button delayed 3–5 seconds on product pages. Initial reply couldn’t fully reproduce the lag and noted the button appears after other product content, suggesting theme load order; recommendation was to consult the theme developer.

Root cause identified by the original poster: leftover theme snippet files from a previously uninstalled Pre‑Order app (Shopify “Pre‑Order Manager”). Files prefixed “spurit_po2_” remained in the theme and slowed the button. Removing all such snippets restored normal load times.

Follow‑ups: Another user with the same 3–6 second lag (Dawn theme) asked how the issue was located. Guidance given: review recently installed/uninstalled apps, temporarily remove or disable them to isolate the cause, and check with app developers for residual code left in theme files. A separate user asked which theme section contained the “spurit_po2_” code; no specific file path or section was provided.

Outcome: Resolved for the original poster by deleting residual “spurit_po2_” snippets. Discussion remains open for others seeking exact file locations and diagnostic steps.

Summarized with AI on January 25. AI used: gpt-5.

Hello,

My “add to cart” button in every product page takes between 3-5 seconds to appear. It started happening out of nowhere, a month ago my website was running just fine.

Here is a URL of a product in my store:

https://distro.com.mx/collections/lo-mas-vendido/products/manga-larga-lados-b-y-rarezas

Any help would be appreciated.

Thanks!

Hey, @OscarRubio

I wasn’t able to replicate the exact issue on my end, as the add to cart button did load within a few seconds. With that said, I did notice it load after most of the product information had loaded (text, pictures, etc).

Depending on the third-party theme you are using, they may have it hardcoded to prioritize loading different aspects of the product page in a certain order. I’d recommend reaching out to them for assistance to see if it’s possible to change. With that said, it did load reasonably fast on my end.

If there is anything else I can help you with, please let me know.

Hello @Dirk Thanks for your answer. I actually found the solution, the problem was caused by a Pre Order App that we had already uninstalled months ago but left a few snippet files even after the uninstall process (the snippet files start with “spurit_po2_”), we removed all of them and now the button loads normally.

This is the app that caused this issue:

https://apps.shopify.com/pre-order?locale=es&ot=23ec4ac5-74c6-4c93-96ea-ae7df80320a6&surface_detail=pre+order+manager&surface_inter_position=1&surface_intra_position=1&surface_type=search_ad

That’s great to hear! If there is anything else I can help you with, please let me know.

Hey @OscarRubio @Dirk how did you manage to locate where the issue was coming from? I am having the same issue my end on Dawn theme out of nowhere it’s got a 3-6second lag. Thanks so much! Ankita

Hey, @Ankita31

I would also look into any recent apps that you have recently installed and try removing them to isolate that being a cause. Or if you have recently uninstalled an app, check with the app developer to confirm that there isn’t any residual code in your theme files that could be causing the loading issues.

If there is anything else I can help you with, please let me know.

1 Like

Nevermind

Hi Oscar,

Would you please share in which section of codes you found the “spurit_po2_” leftover codes?

I’m having the same issue and looking for solution