Precision_Sam Posted October 9, 2022 Share Posted October 9, 2022 I was able to add product images into order confirmation email when I was using PS1.6, by editing the PaymentModule.php, order_conf_product_list.tpl and order_conf.html. After upgrading to PS1.7.8.7, I did the similar modification. However, the order confirmation email only shows the text of image url instead of an image. Any suggestion is highly appreciated. Thank you! Sam Link to comment Share on other sites More sharing options...
ps8modules Posted October 9, 2022 Share Posted October 9, 2022 Hi Sam. And can you give us the code here? How do we find what is wrong? Link to comment Share on other sites More sharing options...
Precision_Sam Posted October 9, 2022 Author Share Posted October 9, 2022 Here is the code added into PaymentModule.php There was also an error from if (sizeof($cover['id_image'] >0). Here is the code in order_conf_product_list.tpl In the confirmation email, only the url text was displayed instead of a product image. Any suggestion is very appreciated. 5 hours ago, 4you.software said: Hi Sam. And can you give us the code here? How do we find what is wrong? Sam Link to comment Share on other sites More sharing options...
ps8modules Posted October 10, 2022 Share Posted October 10, 2022 {$product['image'] nofilter} 1 Link to comment Share on other sites More sharing options...
Precision_Sam Posted October 10, 2022 Author Share Posted October 10, 2022 Thank you for the reply. Where to add this? PaymentModule.php? Link to comment Share on other sites More sharing options...
ps8modules Posted October 10, 2022 Share Posted October 10, 2022 order_conf_product_list.tpl Link to comment Share on other sites More sharing options...
Precision_Sam Posted October 10, 2022 Author Share Posted October 10, 2022 It works! Thank you very much! 1 Link to comment Share on other sites More sharing options...
ps8modules Posted October 10, 2022 Share Posted October 10, 2022 I gladly helped. You can Like by clicking on the gray heart below the posts 😉 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now