Closed deveshprk96 closed 5 years ago
Hi @deveshprk96 As the checklist points out, this would be a great question for our forums. You can use sort keys for this. You can see the reference here: https://help.shopify.com/en/api/storefront-api/reference/enum/productsortkeys
It would look something like this in the GraphQL query:
{
shop {
products(first: 10, query: "", sortKey: ) {
edges {
node {
...
}
}
}
}
}
Please complete the checklist before filing an issue:
None of the above? Create an issue. Be sure to include all the necessary information for us to understand and reproduce the problem:
If there's not enough information to address the problem, we'll tag your issue with
information required
and close it until further information is provided.