Replies: 2 comments
-
Hi, To do this, you can define a new field on the Product type and then create a field resolver that looks up the product's channels and returns the data you need. You can find docs on that here: https://www.vendure.io/docs/plugins/plugin-examples/extending-graphql-api/#add-fields-to-existing-types |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I would like to display the channel name in front-store for each product. Unfortunately the graphQL product query in shop-api does not return the channel variable. Please what is the best way to return the channel relative to the product ?
Regards
Beta Was this translation helpful? Give feedback.
All reactions