- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2020
09:18 AM
08-18-2020
09:18 AM
Produce exhaustive list of default M2 page messages
I would like to have a full list of frontend page messages that Magento generates out of the box. For example, Magento displays a success message when a product is added to cart and another when someone subscribes to a newsletter. I would like to know all the things that trigger these messages.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2020
09:24 PM
08-18-2020
09:24 PM
Re: Produce exhaustive list of default M2 page messages
Hi @jeremyllama
You can check all available messages in Magento, Check below file
vendor/magento/framework/Message/ManagerInterface.php
List of messages in Magento :
addMessage
addMessages
addError
addWarning
addNotice
addSuccess
addErrorMessage
addWarningMessage
addNoticeMessage
addSuccessMessage
addComplexErrorMessage
addComplexWarningMessage
addComplexNoticeMessage
addComplexSuccessMessage
addUniqueMessages
addException
addExceptionMessag
Hope it helps.
Problem Solved ? Click on 'Kudos' & Accept as Solution !

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2020
08:35 AM
08-19-2020
08:35 AM
Re: Produce exhaustive list of default M2 page messages
Some other types of messages are
- Error Message -
- Warning -
- Notice-