Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
What we are trying:
Result that we are getting:
Hi,
I think your query is actually correct! This query should be able to return products for both automated and manual collections.
{
collections(first: 10) {
edges {
node {
title
products(first: 10) {
edges {
node {
title
}
}
}
}
}
}
}
You should verify that the products in your smart collection are Active.
If your products are in draft status then they will not show up in the result of this query.
To learn more visit the Shopify Help Center or the Community Blog.