Hi,
I was willing to edit reward points mail's twig. \admin\view\template\mail\reward.twig
Bold the {{ text_received }} for example
In cased like order_add.twig it is possible with a simple html code, but not in case of rewards mails.
Why is that?
Can I somehow edit it?
Thank you for any idea
What exactly do you want to achieve?
And willing .. what have you changed?
And what do you understand under "simple html code"?
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Because the view output is set as plain text whereas the order_add mail is set as html.
https://github.com/opencart/opencart/bl ... rd.php#L61
If you want html support, you would have to change the the reward event view output from $mail->setText to $mail->setHtml and then format the twig template in html.
Backup and learn how to recover before you make any changes!
Who is online
Users browsing this forum: No registered users and 47 guests