cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 message doesn't show

Magento 2 message doesn't show

I'm sort of stuck. Can somebody give me a hint?

 

I'm developing a modification for the search on a Magento 2.3 shop. I want to display additional messages using Magento's Message\ManagerInterface. When I do a search, the message doesn't display in the search results page (.../catalogsearch/result/?q=something). If I click the "into cart" button the message I did sent to the messagemanager is diplayed together with the "successfully added to cart" message. So I guiess some sort of refresh is missing in my code, which is later triggered by the AJAX actions connested to the cart button.

 

Thank you in advance. Jörg