Backorder – Adding Backorder Message to Order Email

backorder

I've enabled backorders, and it works as expected – showing a message in the checkout when required.

How can I show the same message in the order email that is sent?

Thanks.

Best Answer

To add it to the Email:

app/design/frontend/default/<your_template>/template/email/order/items/order/default.phtml

or

app/design/frontend/base/default/template/email/order/items/order/default.phtml

You can add this code:

<?php if ($_item->getQtyBackordered()): ?>
  Your message
<?php endif; ?>
Related Topic