We use a email template with the following code. We want to extend this with the product image, but that does not seem to work.
<?php foreach ($this->getOutOfStockItems()->getData() as $item): ?> <?php echo $item['name'] ?> <?php endforeach ?>
I already tried
<?php echo $item['image'] ?> But that does not seem to work.
How can I get the product image?