All things Shopify and commerce
Hi,
there is a way to order the products in a collection by availability?
It would be nice if all the not available products appearing after the available orders.
It's a sort of double ordering: if the users select alfabetical order, the unavaialble products will be a the end.
It's that possibile editing the Theme collections ordering query?
Thanks,
best regards.
Solved! Go to the solution
This is an accepted solution.
Hi @n-developer, I could be wrong, but based on the documentation I found it does not appear that sorting by availability via query is an option. If I had to make this happen without getting into a lot of custom coding, I would most likely create two loops, the first showing available items and the second unavailable. Hope this helps!
This is an accepted solution.
Hi @n-developer, I could be wrong, but based on the documentation I found it does not appear that sorting by availability via query is an option. If I had to make this happen without getting into a lot of custom coding, I would most likely create two loops, the first showing available items and the second unavailable. Hope this helps!
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025