In this tutorial we will see how to add the product images in the order confirmation mails.

For this we will open the file Classes / PaymentModule.php

and around the line 457

add this code after that line

and add the $image_url variable to the tpl

Now you need to edit the email template. That email must be in themes/yourtheme/mails/en/order_conf_product_list.tpl or in mails/en/order_conf_product_list

Just add this variable where you want the images <img src="{$product['image']}" />

And you get the emails confirmation with product image: