Add to cart button takes a long time to appear

Add to cart button takes a long time to appear

OscarRubio
Tourist
4 1 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!

 

 

 

Replies 7 (7)

Dirk
Shopify Staff
2428 258 551

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

OscarRubio
Tourist
4 1 5

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

Dirk
Shopify Staff
2428 258 551

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

Ankita31
Pathfinder
132 0 25

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

Dirk
Shopify Staff
2428 258 551

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

am2relatable
Visitor
1 0 0

Nevermind

SLINGERS
Visitor
2 0 0

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