Hi
Is there a way I can add an image to the order status update email that the customer receives BUT only for one specific status.
So for example if when I update status of an order in admin to 'Shipped' I want the email to have a shipped image in it but different images for different order stauses.
I know I can add images manually (along with custom text) at the order update stage manually using 'comments' ckeditor but I want this to be an automated function.
Possible?
Robster
Yes, it is possbible. But first of all you need to change the order status update emial into a HTML one by replacing the setText() function with the setHtml() one.
Then use a switch statement to insert different images on different conditions.
Then use a switch statement to insert different images on different conditions.
Post in the forum yet no one's willing to help? Contact me for free opencart coding or configuration assistance. Reach me at uneverno1986#gmail.com(replace # with @). But no free extension development request. Sorry about that It could take a few days to make a complicated mod.
If you feel I have helped, a donation is optional and appreciated.
Who is online
Users browsing this forum: No registered users and 142 guests