Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I'd like my packing slip items to be grouped by Product Type.
I have tried this code with no luck:
In the Packing Slip template, replaced:
{% for line_item in line_items_in_shipment %}
with:
{% assign lineitems = line_items_in_shipment | sort: "line_item.product.type" %} {% for line_item in lineitems %}
I pulled the basic code from this post, where some people had luck sorting alphabetically.
I pulled the sort criteria from this post. Not sure it's even the correct sorting criteria.
Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-TekLabs to discuss practical strategies for...
By JasonH Nov 13, 2024The year-end shopping spree is around the corner! Is your online store ready for the ...
By JasonH Nov 10, 2024