My Checkourbutton is stuck, also available the F12 coding script
Anyone got any idea? Shopify Support wasn’t able to help due to its a third party theme, also not available in the theme store anymore so cannot even contact the developer…
I see sth is wrong on the codes but i have no clue what it is..
Many thanks, happy for every help!
Share a preview password so that we can have a look first-hand.
Although theme demo has the same problem – https://effortless-theme-demo.myshopify.com – looks like the theme code has a bug.
Anyway my recommendation would be to get a new theme – why would you want to use a theme which does not work, does not have support and would have no updates?
And which is not one of more popular themes…
PW: bisaur
Sure that is what i was thinking about, just to get a new one…
For me it looks like they added a bug and then removed the theme from shopify
BUT still many thanks Tim, appreciate that!
Looks like they are out of business too.
The error in your shop is the same as in demo one.
Possibly fixable, but who knows if it’s the last error?
What happens is that checkout button tries to submit the cart drawer form (or cart form on cart page).
However, this form (which is created by theme Javascript code) does not have product variant IDs, so submitting it results in error.
This looks weird.
Thoght so… 
So i will go for a new theme.
Still many thanks Tim for having a look!
Hi @steves.minis , I’ve investigated the theme issue mentioned by @tim_tairli . The bug occurs because the script is sending an invalid payload to the checkout that’s also why you are seeing 400 error code
A simple fix is to change the button to an anchor tag linking to /checkout. This bypasses the theme’s scripts and relies on Shopify’s native logic to handle the cart transition. Please note that this will also bypass any “terms and conditions” checkboxes in the cart.
You can verify this by going to your storefront, add an item to your cart, and manually navigating to yourstore.com/checkout
Hope this helps, cheers!
Da zuvor noch eine Warnung aus dem JS-Bereich kommt, kann es damit zusammenhängen. Der 400er bedeutet, dass da irgendwas nicht stimmt. Nicht, dass das js irgendwas in die Cookies feuert und Shopify euch daher nicht in den Checkout lässt.
This kind of 400 error usually means Shopify is receiving a checkout request that’s missing the variant IDs for the items in the cart.
In most Shopify themes, the checkout button just submits the cart form. That form needs to include the variant ID for every line item in the cart. If those IDs aren’t present in the request, Shopify doesn’t know what products are being checked out and it returns a 400 error.
A couple things I’d check:
-
Look at the cart template
Go to Online Store → Themes → Edit code and check the cart-related files. Depending on the theme it might be something like:
cart.liquid
main-cart-items.liquid
- or a cart script like
cart.js
-
Make sure variant IDs are being included
Each cart item should ultimately pass its variant ID in the form submission. In Liquid it usually looks something like:
<input type="hidden" name="id" value="{{ item.variant_id }}">