Is there a way to add the Item status (Ordered/Backordered) to the order confirmation email?
I tried below code.
<td class="item-status">
<?php if ($_item->getQtyBackordered()): ?>
<p style="font-size: 12px;"><?php echo $_item->getQtyBackordered()*1 ?> Backordered.</p>
<?php endif; ?>
</td>
It displayed below value:
But it should be ordered and backordered. https://prnt.sc/wr9jez