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

feat(hydrogen-react): include applicable in discountCode in default… #1040

Merged
merged 2 commits into from
Jul 6, 2023
Merged

Conversation

pnodet
Copy link
Contributor

@pnodet pnodet commented Jun 26, 2023

…CartFragment

The useCart hook from hydrogen-react uses the defaultCartFragment if not specified otherwise.

Developers, when using discountCodes, often want to know is the code is valid.

Checklist

  • I've read the Contributing Guidelines
  • I've considered possible cross-platform impacts (Mac, Linux, Windows)
  • I've added a changeset if this PR contains user-facing or noteworthy changes

…CartFragment

The `useCart` hook from hydrogen-react uses the defaultCartFragment if not specified otherwise. Developers, when using discountCodes, will often want to know is the code is valid.
@juanpprieto
Copy link
Contributor

Thanks! please add a changeset for hydrogen-react and sign the CLA 👍🏼

@pnodet
Copy link
Contributor Author

pnodet commented Jun 26, 2023

@juanpprieto signed the CLA and added a changeset, let me know if I need to make other changes!

Copy link
Contributor

@juanpprieto juanpprieto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@pnodet
Copy link
Contributor Author

pnodet commented Jun 26, 2023

@juanpprieto Hey, I'm seeing errors in the gh actions but can't seem to see the error, anything I need to change?

@juanpprieto
Copy link
Contributor

@juanpprieto Hey, I'm seeing errors in the gh actions but can't seem to see the error, anything I need to change?

yes, I noticed. I'm trying to figure out what's up. You all good, we'll take it from here 🙏🏼

@wizardlyhel
Copy link
Contributor

It's just Oxygen deployment failed to load because this is a external contribute PR - merging

@wizardlyhel wizardlyhel merged commit 7a7456a into Shopify:2023-04 Jul 6, 2023
juanpprieto pushed a commit that referenced this pull request Jul 10, 2023
#1040)

* feat(hydrogen-react): include `applicable` in discountCode in defaultCartFragment

The `useCart` hook from hydrogen-react uses the defaultCartFragment if not specified otherwise. Developers, when using discountCodes, will often want to know is the code is valid.
FrcPpe pushed a commit to FrcPpe/hydrogen that referenced this pull request Aug 13, 2023
Shopify#1040)

* feat(hydrogen-react): include `applicable` in discountCode in defaultCartFragment

The `useCart` hook from hydrogen-react uses the defaultCartFragment if not specified otherwise. Developers, when using discountCodes, will often want to know is the code is valid.
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.

3 participants