FROM CACHE - en_header

Checkout Button on Cart Page is not working

Solved
marc_s
New Member
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)

Accepted Solutions
Olivia
Shopify Staff
Shopify Staff
1130 94 204

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 24 (24)
Olivia
Shopify Staff
Shopify Staff
1130 94 204

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
New Member
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
Shopify Staff
1130 94 204

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
New Member
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
Shopify Staff
1130 94 204

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
New Member
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
Shopify Staff
1130 94 204

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? 

alishahzad
Shopify Partner
8 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

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
50 0 11

@EmilO Thank you. Your solution works with me.

Jeffo2
New Member
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>

ZiZoouStore
Explorer
50 0 11

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

charlesr
Excursionist
17 0 4

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.