Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
I have a page which shows all my collections... But the Sort is currently default and I want to have a custom Sort. For that reason I added a Custom Meta Object Field with the name "sorting" and there I add Letters like a, b, c,... ... y, z and I want to sort it that way. How can I sort it?
When I sort a Meta Object List, I can use
{% assign sorted_headings = shop.metaobjects.heading.values | sort: 'sorting' %}
But this code does not work with collections (of course I changed everything)
Hi,
Need to do testing in the backend with code. If you want then you can contact me, details given in signature