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:

Product added to wishlist
Product added to compare.

We use a selection of our own and third-party cookies on the pages of this website: Essential cookies, which are required in order to use the website; functional cookies, which provide better easy of use when using the website; performance cookies, which we use to generate aggregated data on website use and statistics; and marketing cookies, which are used to display relevant content and advertising. If you choose "ACCEPT ALL", you consent to the use of all cookies. You can accept and reject individual cookie types and revoke your consent for the future at any time under "Settings".