Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
Hi there,
Hope someone can help me here, we are building a custom storefront with Nextjs.
Question - With collectionByHandle query can I able to get the sort_order ? We use different sort option for different collections, How can I find out which collection have which sort has been selected as default?
Query I am using to collection products, here best_selling is hard coded, I would need to make it dynamic based on sort type selected on the Admin
User | RANK |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |