Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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.
Dirk | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
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=...
That's great to hear! If there is anything else I can help you with, please let me know.
Dirk | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
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.
Dirk | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog
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
Learn what's possible with customizing Shopify Checkout beyond what's available out of...
By Shopify Feb 19, 20252m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025