Re: Different Number of Products Returned Depending on sortKey

Different Number of Products Returned Depending on sortKey

4 0 1

Excuse the weird nested console grouping, but as you can see in the image below, changing the sortKey value, returns a different number of products in each case; I receive all three products as expected when sorting by CREATED_AT, but only two of the three when sorting by PRICE:

Screenshot from 2021-08-11 12-13-16.png

I have checked that all three products (total) all have all the same attributes (i.e. they all have a price, are active, are available, and connected to the right sales channel) and everything seems to be the same in each case. There is a single item that is consistently not returned when sorting by PRICE. What am I doing wrong? Any help much appreciated.

Replies 2 (2)

Shopify Staff
402 66 101

Hey @mjfullstack 

If you're still affected by this issue, would you happen to have a request_id or the store's products in question in which you're seeing this ? I can take a look - feel free to DM me through the details. Thanks!

| Shopify |
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution!
4 0 1

Hi, thanks, the issue eventually went away. Took a while, but I guess it was just taking more time than usual for item to be properly added.