Cart Page reloads when checkout button is used

Hi, our customers bought this to our attention today. After a product is added to the cart, the checkout button on the cart page just refreseher the cart page and does not proceed further to the checkout page. We have not made any changes to our code since last night and have faced this issue only since a couple of hours now. Can someonle please point me in the right direction to resolve this.

Thanks

@ZoofPets

Search for cart file. Then in the file find:

Checkout

Change it to:

<a href=“/checkout” class=“Cart__Checkout Button Button–primary Button–full” style="

max-width: 185px; ">Checkout

Hi,

I have checked our cart files but this piece of code does not exist in any of the files.

This is an acknowledged issue by Shopify. All we can do is wait.

Hello, same problem here on my website. Tried with 3 different web browsers, and on mobile.

Figured it out. Looks like a third party cookie banner has the guilt.

If anyone else has the issue, try to avoid cookie-script. com on the shopify store. looked nice, but broke the shop :(.

FYI you will have that issue with (probably) any cookie app you install. The solution is to whitelist specific cookies Shopify uses for the correct functionality of the cart & checkout. You can find the list somewhere on shopify.com.

1 Like