cancel
Showing results for 
Search instead for 
Did you mean: 

Display backorder message in order confirmation email for configurable products

Display backorder message in order confirmation email for configurable products

Hi,

 

I'm trying to add backorder message in order confirmation email for configurable products. I've added the following code to my template file: app/design/frontend/default/<template_name>/template/email/order/items/order/default.phtml

 

<?php if ($_item->getQtyBackordered()): ?>
<p style="font-size: 10px;color: #CCC">
* This product is not available in the requested quantity. <?php echo
$_item->getQtyBackordered()*1 ?> of the items will be backordered.
</p>
<?php endif; ?>

 

But this above code appears only works for simple product, not configurable products with variations (size and colour).

 

My magento version is CEv1.7.0.2.

 

Is there a way to add backorder message in order confirmation email for configurable products? Any help would be most appreciated! 

 

Regards,

James