Shopify themes, liquid, logos, and UX
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
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