I'm struggling to create a new template for customer back-orders.
I have a loop that works for unfullfilled items. Inside the loop I print the line_item.sku and line_item.quantity.
The line_item.quantity is the entire quantity the customer ordered and not back-order quantity. I tried line_item.successfully_filled_quantity and it's always 0. Thus, cannot perform difference in quantity to determine back-order quantity.