Best way to query products by collection #64
Unanswered
ItagMichael
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any out-of-the-box way to query Shopify products by the collection(s) they are in? Currently, it doesn't appear possible via element queries according to the readme. I understand Shopify's data model is a bit different here.
Will I need to do a manual API query and somehow work this into the standard queries and pagination? Use case is simply to have a category style page per collection, and display all relevant products on said page.
Ideally, it would be great to save this data on Craft's end so something like the following query is possible:
Beta Was this translation helpful? Give feedback.
All reactions