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