Why does my checkout button redirect to a Dutch page in my German store?

Hello,

When i press the checkout button on my German store, it redirects to the dutch checkout.

How can i fix this?

Thanks

https://van-assem.nl/de

Hey @ElliotM , the checkout should follow the language of the store. If it doesn’t, it’s almost always a 3P app causing it that doesn’t use the ‘routes object’. Try turning off all apps and seeing if the correct language persists, and if so turning apps on one by one until you find the culprit and speak to their developers.

Hey! I have the same problem. If I go to checkout from admin customization the page is translated correctly but from the website, it doesn’t redirect to the right language. I have enabled only shopify apps: translate adapt and email.

Hi @tomyzzzz , on line 51 of main-cart-items.liquid you have a line that says:


which will have originally said:

```markup

It's {{ routes.cart_url }} that makes sure the right locale gets passed through. Do you know how yours changed? I notice you also previously had Weglot; that could be related.

I tried changing that but it didn’t work for me. It’s just so weird, if you go in from customization the checkout is correctly translated but on the actual website, it isn’t. I have already tried clearing my browser cache and things.

1 Like

Ok we’ve worked out it’s because of leftover Weglot code. We commented it out and you’ll see the checkout now shows in Estonian.

Thank you so much :slightly_smiling_face:

1 Like

Hi, how did you get the problem fixed?

1 Like