Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I got a report from a customer that our checkout was not working so I looked into it and the checkout button is not responding at all when I click on it and I've tried clearing my cache and cookies as well as incognito but nothing is working. How do I solve this?
Solved! Go to the solution
This is an accepted solution.
It seems to be hosted at https://preorder-now.herokuapp.com/widget/javascript?shop=primary-airsoft.myshopify.com
It's probably being added in "theme.liquid", look for that URL in your codebase and you might find it somewhere. If you can't find the import in your code, then it might be an app that's adding that in which case you'll need to either remove the app or contact the app's support team.
I would just remove it as it's currently blocking checkouts, but it will need to be fixed at some point as it seems to be what powers the 'pre-order' feature.
Hi 🙂
Could you please share your store URL and some steps to replicate the issue?
You have a JavaScript error that's preventing the button from working:
I have no way to know what that piece of code does or why is failing, you'll need to contact the devs who implemented it. It seems like a function that checks the stock before you can checkout.
Do you happen to know where the code is at and where I can find it?
This is an accepted solution.
It seems to be hosted at https://preorder-now.herokuapp.com/widget/javascript?shop=primary-airsoft.myshopify.com
It's probably being added in "theme.liquid", look for that URL in your codebase and you might find it somewhere. If you can't find the import in your code, then it might be an app that's adding that in which case you'll need to either remove the app or contact the app's support team.
I would just remove it as it's currently blocking checkouts, but it will need to be fixed at some point as it seems to be what powers the 'pre-order' feature.
Great thank you it is working now.
Hello, I am having the exact same issue now with 3 different customers, all using the credit/debit card payment method. They input their card info correctly and press ‘pay now’ but it never completes their purchase.
how can this get fixed so I don’t continue to lose sales?
Hi! I have the same issue. Heres my store url:https://11azek-0x.myshopify.com/cart
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025