Re: Checkout Button on Cart Page is not working

Solved

Checkout Button on Cart Page is not working

marc_s
Visitor
2 0 1

Hey,

the checkout Button on my cart page (https://safe-t-shirt.shop) is not working. It is just refreshing the page. I tested it with two Computers (with Chrome and Firefox on each). Each times I tested it as well in incognito mode. Same on my iPhone with Safari. 

Can you please provide me a solution for this?

 

Thanks so much,

Marc

Accepted Solution (1)

Olivia
Shopify Staff (Retired)
1725 148 317

This is an accepted solution.

Hey, @marc_s!

Welcome to Shopify Community. My name is Olivia and I work here.

Thanks for sharing your question. I took a second look at your website, and I also ran into the same issue you described. I dug a little deeper, and it doesn't look like the issue is being caused by any currently installed apps, rather, some edits that may have been made to your theme code. 

Have you tried to test your store against an unedited version of your theme? 

  1. Head to Admin > Online Store > Themes 
  2. Download a fresh copy of your theme
  3. Publish the new, unedited version
  4. Test the cart/checkout
  5. If the issue persists there may be an issue with your chosen theme; to be sure test your store against an unedited Shopify developed theme


I trust you will find that helpful, but let me know if you have further questions about this.

Warm regards,

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

View solution in original post

Replies 32 (32)

Olivia
Shopify Staff (Retired)
1725 148 317

This is an accepted solution.

Hey, @marc_s!

Welcome to Shopify Community. My name is Olivia and I work here.

Thanks for sharing your question. I took a second look at your website, and I also ran into the same issue you described. I dug a little deeper, and it doesn't look like the issue is being caused by any currently installed apps, rather, some edits that may have been made to your theme code. 

Have you tried to test your store against an unedited version of your theme? 

  1. Head to Admin > Online Store > Themes 
  2. Download a fresh copy of your theme
  3. Publish the new, unedited version
  4. Test the cart/checkout
  5. If the issue persists there may be an issue with your chosen theme; to be sure test your store against an unedited Shopify developed theme


I trust you will find that helpful, but let me know if you have further questions about this.

Warm regards,

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

marc_s
Visitor
2 0 1

Thank you so much @Olivia,

 

I downloaded the theme again and configured everything exact in the same way like before. Now it works. I don't know what I changed on code level, that impacts the checkout button.

 

Thank you again so much!

Olivia
Shopify Staff (Retired)
1725 148 317

I'm so glad you were able to fix that up, @marc_s.

Code can definitely be very tricky. My suspicion is that you may have edited the cart.liquid, or downloaded an app (but didn't properly uninstall it) that made edits? If you will be making future code changes and you want to find out exactly what went wrong with the first one, use a free online tool like Diffchecker to compare code between the working and broken theme.

Just a thought if you're interested!

Warm regards,

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

KOLORS
Visitor
3 0 0

Hello, I am running into the same problem... The Cart page keeps refreshing when I click Check-out... But when you say download a fresh copy do I have to redo my entire store... I'm lost...

Olivia
Shopify Staff (Retired)
1725 148 317

Hey, @KOLORS.

Thanks for joining this thread. 

The best way to rule out any cart code errors would certainly be to test your store against unedited themes. The main idea here is identifying if there is a code error that was added after the fact which may be causing the issues you are experiencing.

Please make sure to check out the tutorial I shared earlier to help identify code errors and how to proceed with next steps. If you do determine there are code issues on your site and you are unable to resolve them yourself, then you can definitely consult with our Experts

Let me know if you have further questions.

Warm regards,

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

CJ79
Visitor
2 0 0

Hi - we are having the same issue with the checkout button on Cart Page. 

Could you please provide a solution? https://shop.samaritans.org/

 

Olivia
Shopify Staff (Retired)
1725 148 317

Thank you for connecting with us, @CJ79.

 

Have you attempted the troubleshooting steps I shared earlier in this forum thread? These are very important steps that we ask you to take in order to help identify the issue you are experiencing.

 

Please let me know the results of your troubleshooting and I would be happy to guide further.


Warm regards,

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

mitchjuhl
Tourist
8 0 3

Hey there,

 

my checkout button isn’t responsive in anyway. Everytime I click nothing happens on mobile. Is there a way you could test it for me on your side and any advice how to fix it? 

Sferrero7
Visitor
3 0 0

Ive been having a big problem with the same issue. It works when I use a vpn but without it doesnt work. Ive tried it on a blank theme and it still didnt work. I suspect its an app causing this. Help would be greatly appreciated.

Olivia
Shopify Staff (Retired)
1725 148 317

Thanks for reaching out, @Sferrero7.

 

Thank you for sharing some context around your site working with a VPN, but not without. Is it specifically the checkout or cart that is affected, or all parts of your website?

 

Also, can you clarify which region you are in?

 

Warm regards,

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

uzairooo01
Tourist
10 0 0

Hey Olivia please check my product page as well the checkout and add to cart button are not working I want to run ads, Also I installed Pumper for bundle discount it also not showing on product page (https://ouvby.com/products/pain-free-sleep-with-ouvby-neck-pillow)

alishahzad
Shopify Partner
14 0 3

Just add (value="checkout") attribute in submit button on cart.I hope this solution worked fine for you.

let me know if you have further questions

Muhammad Ali
individuated
Tourist
6 0 1

Hello Alishahzad, my store suddenly ran into this problem for the last few hours. I did not made any change to my theme recently. The problem happened on its own. When I click on the checkout button in cart page, the button only flashes for a few seconds but does not go to checkout page. Could you please help me. Thank you

https://individuated.com.au/

EmilO
Tourist
3 0 2

Hello Individuated,

Same issue on our store https://livingflowers.dk/ 

It started this morning, i can understand on my google specialist that more people are have the same issue

Best Regards,
Emil
individuated
Tourist
6 0 1

Hi EmilO, 

Thank you for letting me know. Do you mean that a lot of other people are having the same issue today? Have you found a solution to fix it?

Update: I checked the Shopify status page, it says:

Checkouts that use Google Tag Manager may not be reachable for some customers from the cart page. We recommend temporarily disabling Google Tag Manager as a workaround while our developers are continuing to investigate.

EmilO
Tourist
3 0 2

I made a workaround that works 😄
I just made another button below the checkout button that have a aref = "/checkout"

 

<a href="/checkout" class="btn">Temporary Button</a>

 

Yeah i know over 5 that have same issue

 

Best Regards,
Emil
ZiZoouStore
Explorer
53 0 12

@EmilO Thank you. Your solution works with me.

Jeffo2
Visitor
1 0 0

How did you do this? im having the same problem as everyone else

individuated
Tourist
6 0 1

Go to your cart.liquid theme file and adding this line, below the code for your current checkout button. 


<a href="/checkout" class="btn">Temporary Checkout Button</a>

alishahzad
Shopify Partner
14 0 3

I just check your store and your store currently have two checkout buttons one is working fine and second one is not so you just add this (value="checkout") attribute on your checkout button which are not work. I hope this solution is also help for you. 

Muhammad Ali
alishahzad
Shopify Partner
14 0 3

Hello, I just checked your store, and the checkout button on the cart page is working perfectly fine. There's no issue at all.

Muhammad Ali
ZiZoouStore
Explorer
53 0 12

@alishahzad Thank you. Your guide can solve my issue.

charlesr
Shopify Partner
30 0 8

Shopify checkout is currently broken if you have GTM installed according to their status page. https://www.shopifystatus.com/incidents
Although I removed GTM and it's still not working....

jerryodd12
Shopify Partner
3 0 1

Had this issue with a few clients sites. The issue is with Shopify and Google Tag manager at the moment. You can see that from the https://www.shopifystatus.com/

Easy fix for now is to pass the shopify checkout validation and send your user straight to checkout. 

In your theme, find where it has 

<form action="{{ routes.cart_url }}" method="post" id="cart-notification-form">

and change it to 

<form action="/checkout" method="post" id="cart-notification-form">

 
This can be located in multiple locations, just depends on the theme you're using.

cart.liquid
template-cart.liquid
main-cart-items.liquid



Although this is just a temp fix and these should be changed back after shopify has fixed the GTM issues. This should work for now. 

pelicancommerce
Shopify Partner
13 0 4

This worked for us! Anyone that needs emergency help fixing this while Shopify is down, reach out to us at Pelican Commerce and we can get you a temporary fix until this is resolved. https://pelicancommerce.com/

Slashed
Visitor
1 0 0

I tried everything with the codes including downloading and uploading the theme again but nothing works. The Checkout Button is not clickable. Please let me know what i have to do. https://www.slashedkicks.co/

Olivia
Shopify Staff (Retired)
1725 148 317

Thanks for reaching out, @Slashed!

 

Have you tried the troubleshooting steps I mentioned in the thread yet? Such as testing from an unedited Shopify theme with no apps installed?

 

Please let me know the results of that so I can guide further.

 

Warm regards,

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

ncmprbl
Visitor
1 0 0

Hello,

 

I have completed the troubleshooting and still having the same issue  with my online store (ncmprbl.myshopify.com). I suspect it comes from when downloading an app called lens advisor, as it only happens when this app is active and attempting to checkout with lenses in the cart. Any way that you or a rep can have a look on the back end would be great. Thanks!

 

Mario

ncmprbl

Olivia
Shopify Staff (Retired)
1725 148 317

Thanks for following up with me and that added context, @ncmprbl!

 

While we are unable to provide account support through our public spaces, our Support Team is also available 24/7 to assist. The great news is you seem to have already narrowed down where the issue is stemming from in order to be resolved.

 

As you have identified a third-party app as being the root cause, to get the right assistance you will need to connect with the app's developer directly. I also saw they have an email address you can reach out to at help@lensadvizor.com

 

Warm regards,

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

Outdoorsolarout
New Member
6 0 0

hi @Olivia i did all the treble shouting and all the selection and im having the same issue when im adding two items and up  can you help please?

Elias
Shopify Staff (Retired)
3076 300 542

Hey, @Outdoorsolarout.

 

Thank you for joining the thread.

 

We're unable to provide account-specific support via the Shopify Community. However, if you're using a Shopify-supported theme, then we'd be happy to continue assisting you through live chats. Please visit the Shopify Help Center and login to your account to create a support request.

 

That being said, if you're using a third-party or custom theme, then we'd recommend getting help for your theme directly from the theme developers. If the theme developer doesn't offer troubleshooting or customization support, then you can also consider hiring a developer to assist you with the theme. Should you need help finding a developer, then we'd encourage taking a look at our directory of certified developers on Shopify Partners

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

Outdoorsolarout
New Member
6 0 0

Hi. I’m using debit theam. Looks like this issue happened to a lot of people. I need help please