add localized to gql product query #3389
Unanswered
sandrodunkel
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am building a shop with multiple sites/languages. When querying entries using graphql I can use localized{} to get the corresponding entry from different sites (e.g. used for language navigations). It seems like there's no way to do this in the product query.
My workaround now is to add an additional query which filters products based on the specific product.id and returns the url of this product in each site. Whilst this works, it would be far easier and more consistent if there would be a product.localized.
Beta Was this translation helpful? Give feedback.
All reactions