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)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.