Accepting credit cards, warehouses, and shipping and fulfilling orders
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 would like to change the product classification for packing slips. I want to go from a classification by SKU to a classification by best selling item. I would like the first product to appear on the packing slip to be the one with the most sales over the last month, for example (in terms of quantity). Today I found the line to modify in the code for the packing slips, but I can't find the variables that allow them to be arranged in the order described above. Could you help me? {% assign lineitems = line_items_in_shipment | sort: ‘sku’ %} Here is the line of code to modify
Have a nice day