Jump to content

[SOLVED] How to display message error in back office


Przemysław Suszek

Recommended Posts

Hi,

I have module which created a new extra tab in product. I wonder how can I display error message in this place ? There is something like varabile $message. But nothing happens when I set text in this variable. Thanks for help.

Kind regards

Zrzut ekranu z 2017-12-16 11:58:11.png

 

---edit

$this->context->controller->errors[] = 'Unable to load object';

 

Edited by mr.suchy (see edit history)
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...