How to get a product property that is not available in useProductOptions
#1859
Answered
by
frehner
maplessmann
asked this question in
Help
-
With the previous version of Hydrogen I could get const {productType} = useProduct(); Now that |
Beta Was this translation helpful? Give feedback.
Answered by
frehner
Jul 16, 2022
Replies: 1 comment
-
You can either
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
maplessmann
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can either
product
object (that you used to provide to<ProductProvider/>
) directly, or<ProductProvider/>
context and hook using React