Also, Shopify appears to store the weight in grams (even though it is entered in lbs), so where I needed the weight (to the nearest pound) displayed I used this:
Thanks to TenRivers for this as it helped me implement this for the new order printer app.
Just wanted to mention that for some users trying to add the order weight to the new order printer app by Shopify, you may need to use the line_item.variant.weight object.
Thanks! Our store is only open one month of the year (it’s a pre-order sale) so I haven’t looked into the implications of the new order printer app yet, but thanks for the tweak to keep it working.
Hi,
Added this to the template for the new order printer app and it works.
However, it does not seem to work for different sku’s.
Eg, if customer orders 2 different products, the weight of only one of the products is appearing?