richard2011 Posted March 12, 2013 Share Posted March 12, 2013 I would like to send my customers an email from the order section which has a html link on it to a review page on my site. I can create a standard message in the order messages section but the link comes out as normal text unable to be clicked on. Is there an easy way to do this, or will I have to send it by my email client. Using PS V4 Thank you Richard Link to comment Share on other sites More sharing options...
Valérie Assetskaya Posted March 13, 2013 Share Posted March 13, 2013 (edited) Hello, I think that in the standard way it is not possible as if you write a link, it will be shown up as text: Message: <a href="sdfsdfsdfsdf">asdasdasasdasd</a> It is necessary to override AdminOrderController.php PostProcess method. $customer_message->message = htmlentities(Tools::getValue('message'), ENT_COMPAT, 'UTF-8'); change to $customer_message->message = Tools::getValue('message'); Best regards Edited March 13, 2013 by Valérie Assetskaya (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts