2

How can I add a link into an error message from Message Manager ?

I have this :

 $physicalLink = "<a href='".$produtToAddUrl."'>".$produtToAddName."</a>";
 $this->_messageManager->addErrorMessage($physicalLink);

but the result is

<a> href='http://www.devtest.com/link.html'>link</a>

i need this to be an usual result (as html link)

3

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.