Question

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.

Was it helpful?

Solution

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; ?>
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top