-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Cart doesn't use default Hydrogen localisation #622
[BUG] Cart doesn't use default Hydrogen localisation #622
Comments
@lordofthecactus is this fixed in CartV2? |
I believe it is |
It is not fixed. I'm wondering if it makes sense to fix since |
Shopify/hydrogen-react#42 is another request for this. [edit: accidentally closed this. Sorry!] |
Hey all 👋 The merchant who originally reported this issue has reached out again - As a result of this problem, the cart elements are consistently being displayed in English, irrespective of the language selected by the user. This language mismatch is impacting the user experience and would greatly appreciate help in resolving this issue. |
I'm looking into this. |
Hey all 👋 Thanks for the work carried out here, the merchant responded with the following soon after making them aware of the fix.
They also added in a separate email the following query -
|
@danielmcg1993 this is probably a new issue. The previous issue was Hydrogen was forcing the default country code. That has now been fixed. The cart itself was not built to handle |
@danielmcg1993 |
Describe the bug
The
CartProvider
localisation defaults to US instead of using the project default from Hydrogen config. Only when on the default site, i.e. not/nz
, etc.To Reproduce
defaultCountryCode
in Hydrogen config to anything butUS
Expected behaviour
Cart country (currency) should be same as that defined in
hydrogen.config.ts
.The text was updated successfully, but these errors were encountered: