How do you properly use CartLineProvider in Hydrogen React? #953
Replies: 2 comments 1 reply
-
I also don't know how i'd even call the GraphQL API to get the cart items, if that's what i'm supposed to do, because there doesn't seem to be a way to get the cart ID. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I figured it out. The |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I didn't see this in the NextJS sample or anywhere, but how do I get cart lines? I'm using the providers and the
AddToCartButton
, but i'm not sure how I use theCartLineProvider
without manually calling GraphQL. I thought this info would be stored in theCartProvider
, but it doesn't seem to be.Beta Was this translation helpful? Give feedback.
All reactions