Questions tagged [global-messages]

The tag has no usage guidance.

18 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
110 views

Display message from message manager above specific block Magento 2

I have redirection from controller to CMS page with custom message defined using messageManager. It show up the message before my CMS page content begins (below header part). but i want to display ...
3
votes
0answers
47 views

How to hide messages one by one after each one is visible for a certain amount of time?

Tried that the messages hide one by one depending on the time of creation so far I have this but it does not work very well in some moments it does not wait for the 15s and in others it erases them ...
2
votes
0answers
289 views

Show custom Admin Messages In configuration section custom module Magento 1.x based on API response

I created a custom module which fetch data using third-party APIs. In admin Dashboard after module installation. I want to check few things form API( I am getting everything from API this is done , ...
2
votes
0answers
511 views

Magento 2: Change error message on checkout “An error occurred on the server. Please try again”

Preconditions Magento 2.1.4 PHP 7 Production mode Steps to reproduce Wanted to change the generic "An error occurred on the server. Please try to place the order again" to "We could not place ...
1
vote
0answers
27 views

error message not getting replace

On product page, I am doing add to cart with quantity more than the allowed in cart. Page is getting refreshed and I am seeing the error message on the page. After that I am adding single quantity and ...
1
vote
0answers
73 views

Global Page Success / Warning / Error Messages not showing in Admin

None of the global page messages are appearing on any page in the admin panel. This includes and is not limited to my own custom messages, saving a product, canceling an order and clearing the cache. ...
1
vote
0answers
898 views

Magento notifications are not showing in the frontend

I am using Magento 2. I am trying to display magento notifications on the page of custom module. I have followed these posts: How to show session messages at front end in magento 2 beta How to use ...
1
vote
1answer
531 views

Magento2 success message

When we are saving any frontend form, it is showing the success message on same page and also on all other pages. It also shows the messages after reload.
1
vote
0answers
2k views

How to add messages in “global_messages” block?

I simply wonder how to interact with the global_messages block. I'm aware of http://inchoo.net/magento/magento-frontend/utilizing-magento-notification-system/ and https://makandracards.com/magento/...
1
vote
1answer
186 views

Success Message Persist On all pages

we are saving the customer account information (like personal info, address etc) from the customer account section(frontend after login), it show the success message on same page. So this is right but ...
1
vote
0answers
89 views

How to return global_messages as JSON string?

I am trying to echo global_messages via JSON on the frontend. I have been looking around for some examples of how to return global_messages as a JSON string but cannot find anything that has helped ...
0
votes
2answers
93 views

Magento 2 : Create custom sticky admin system messages

I need to create custom sticky admin system messages. Here is my code, But not working class StickyMessages implements \Magento\Framework\Notification\MessageInterface { public function ...
0
votes
1answer
27 views

how to hide a success message after some time in magento1.9

how can I hide messages after certain time. I'm using a custom model. $redirectMsg = Mage::getSingleton('customer/session')->addSuccess('hii');
0
votes
1answer
29 views

Google URL Tags Showing in Global Messages

A strange error I noticed on my Magento 2.2 site yesterday, When I create a URL with google tag generator and then click the link through to the page the campaign tags appear in what I believe is the ...
0
votes
0answers
91 views

JQuery Issues on homepage

I created custom theme. Everything working fine except it doesn't show message on homepage only like add to cart action any other page it's working fine. I think it's KnockoutJS issue. How to tackle ...
0
votes
1answer
135 views

Not having the page reload or being redirected if the login credentials are wrong - Magento 2.2

On the login page, when the end-user enters a wrong password, the page gets refreshed and then returns the error massage, is there a way that I can have the error appears right away after entering the ...
0
votes
0answers
116 views

Messages are not showing on frontend magento 2.1.7

This question might be asked here before. I have checked many threads but couldn't find a solution for my problem. I have a custom Magento 2.1.7 theme. In my website the success/error messages not ...
0
votes
0answers
769 views

Show global messages of newsletter subscription in popup

I wish to show newsletter subscription global messages(like Thank you for your subscription.etc.) in popup.When a user click on newsletter subscription the default global message should come in popup. ...