Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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
Hello,
I am trying to sort the line_items in order printer template by a metafield. I tried to create a new object by iterating the line_items and storing data in a key value pair, but it seems liquid has its limitations. Is there a way to create a new object like line_items and then access it using key-value?