Where are the addproduct and index pages in Magento?

Where are the addproduct and index pages in Magento?

Both the index and the addProduct pages are in MyAccount, if that has anything to do with it. The error message that it should show and redirect to the addProduct page is after the user clicks the submit button for the form. If it redirects to the index form, either success or failure messages will show.

How to display success and error messages in Magento 2?

By default, the platform lets you display success and error messages in Magento 2 for both store visitors and administrators. You can inform users on frontend and backend about the completeness of their actions. In this article, we describe two ways of showing success and error messages in Magento 2: Observer.

How to display success or error message into home page?

Re: How can i display success or error message into home page in custom theme layout ? Messaging in Magento 2 is handled by a message manager object. So if you want to write messages, you need to get an instance of it. The prefered method is to inject this class into your class by adding this to your __construct method:

Why is my error / success message not showing?

On the index page error/success messages show without a problem. On the addProduct page neither error nor success message show. The div for the message is there, but it is empty. I have compared it with everything on the index page, but have not found the problem yet.

Why is my success message not showing in Magento?

If it redirects to the index form, either success or failure messages will show. If it redirects to the addProduct page – where the form with the submit button is, then neither a success or an error message will show. 08-18-2017 08:06 AM 08-18-2017 08:06 AM

Why is the error / success message not showing on one page?

On the index page error/success messages show without a problem. On the addProduct page neither error nor success message show. The div for the message is there, but it is empty. I have compared it with everything on the index page, but have not found the problem yet. Can you please see, if you can find it? What am I overlooking?