0
votes

We've got a site fetching the products on our Shopify store's frontpage collection, but the Shopify API always returns them alphabetically so we lose the ordering. Is there any way to retrieve the ordering of a collection as well as its products?

(I realise I can reorder these products alphabetically via the Shopify interface and then they'd match up with the results of the API call, but we'd like the site that's fetching the details to reflect whatever the current Shopify store ordering is, if that's possible.) Can anyone help?

1

1 Answers

1
votes

Try using a Collect. It has a properties called "position" and "sort_value" that keep track of the manually sorted order in a collection.

Have a look at this.