I am working on Shopify notification email, and I want to know how to get item count number from customer’s order. For example, when customer placed an order with 5 items, how can I get the number “5” ?
I found there is “shippable_items_count” and “fulfillment.item_count” but these are not the one I am looking for.
When customer order 5 items, but 1 item is sold out, then shippable_items_count would be 4. Is there any way I can get the number 5, the original item count from customer’s order?