Skip to content
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

Hydrogen React - Add Language to CartProvider #1408

Merged
merged 4 commits into from
Oct 16, 2023

Conversation

Qubica
Copy link
Contributor

@Qubica Qubica commented Oct 9, 2023

WHY are these changes introduced?

CartProvider doesn't take translations into account

Fixes #1403

WHAT is this pull request doing?

Adds language to the graphql queries. E.g. This will fetch the product titles in the correct language.

@Qubica
Copy link
Contributor Author

Qubica commented Oct 9, 2023

I have signed the CLA!

@juanpprieto
Copy link
Contributor

juanpprieto commented Oct 12, 2023

Hi @Qubica, thanks for this great PR!

Considering that this is not a breaking change (languageCode defaults to EN), we feel this should be a minor rather than a major change.

Could you please update the changeset to minor? (You can manually change the .md file)

@blittle blittle merged commit d30e265 into Shopify:main Oct 16, 2023
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants