Questions tagged [global-messages]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
94 views

How to notify admin user after cronjob finished?

I have a cronjob that imports product data. This can take up to 40 minutes. Is there a way to notify the admin user who is logged in? I don't want the admin users to manually edit products during the ...
user avatar
  • 17
0 votes
2 answers
624 views

Magento2 : How to show custom notice message in checkout page on page load?

I want to display Custom Notice message in Popup on page load in Checkout page.
user avatar
0 votes
1 answer
37 views

Magento 2 The information or error messages always remain displayed even after a change of page

The information or error messages always remain displayed even after a change of page, so once I get to the cart I have 5 or 6 messages that are still present, how to put a lifetime to the messages in ...
user avatar
0 votes
1 answer
233 views

How to display custom notification or alert message on checkout pages?

Since the Covid mutation has arrived at our warehouse location, I'm looking for a way to use a text banner or something similar to inform people about possible unscheduled delays in shipping orders. ...
user avatar
0 votes
2 answers
425 views

Modify Login Error Messages in Magento 2.3 for Incorrect Password

I'm looking to change the "The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later." message that appears when someone types an incorrect ...
user avatar
  • 47
1 vote
1 answer
43 views

How to add success mesage on click of add to cart buttton in custom module in Magento 2

I want to display success message on click of add to cart button in magento 2. I am developing custom module in which i can develop functionality of add to cart and i want to add success and error ...
user avatar
  • 498
1 vote
0 answers
23 views

Magento 2: How to make Message Manager showing specific message one time only?

I have a page that welcomes a customer with a message manager like this: $this->_messageManager->addSuccess(__("Welcome to test section")); the problem is this message will keep ...
user avatar
  • 177
0 votes
2 answers
273 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 ...
user avatar
  • 1,023
0 votes
1 answer
59 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');
user avatar
3 votes
0 answers
261 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 ...
user avatar
  • 765
1 vote
0 answers
30 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 ...
user avatar
  • 8,598
3 votes
0 answers
73 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 ...
user avatar
0 votes
1 answer
32 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 ...
user avatar
  • 1
1 vote
0 answers
101 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. ...
user avatar
  • 63
0 votes
0 answers
96 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 ...
user avatar
  • 1,043
0 votes
1 answer
148 views

Messages Block empty on advanced search results

I disabled the redirect to cart after adding a product so users can continue from where they were, which works great on category page and search results. But when you are on advanced search page, the ...
user avatar
4 votes
2 answers
3k views

How to move Success, Error messages position?

How to move Add to cart success and error message above Add to cart button and not at the top ?
user avatar
0 votes
2 answers
1k views

Add message on product page

I want to add a warning message on the product page but it's not working if full page cache is enabled. I'm using the following event <event name="...
user avatar
  • 347
0 votes
1 answer
224 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 ...
user avatar
  • 179
2 votes
0 answers
409 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 , ...
user avatar
  • 1,656
0 votes
1 answer
1k 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 ...
user avatar
  • 191
2 votes
0 answers
577 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 ...
user avatar
  • 21
3 votes
1 answer
941 views

Session error message from observer not showing after redirect

I created an observer to add rule before customer can access one page checkout, the code for checking my rule before proceed to one page checkout page is working fine, but the problem is i want to add ...
user avatar
  • 2,364
1 vote
1 answer
3k views

Session messages not showing

I've created a custom module (in Magento CE 1.9.3.1) where users can participate in a competition to win something. Everything so far works flawlessly and the module is nearly done. However now I want ...
user avatar
  • 87
1 vote
0 answers
1k 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 ...
user avatar
1 vote
1 answer
10k views

How to redirect to previous page with message in magento 2 frontend?

I have a form that post data to controller in Magento 2 Frontend, i want to do some validation, and redirect back to previous page after validation with success or error message, here's how i redirect ...
user avatar
  • 2,364
0 votes
0 answers
899 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. ...
user avatar
  • 628
9 votes
3 answers
11k views

Remove success message after show

I custom add to cart module on Magento 2 and keep message like Magento core. if (!$this->_checkoutSession->getNoCartRedirect(true)) { if (!$this->cart->getQuote()->getHasError()) { ...
user avatar
  • 471
3 votes
2 answers
451 views

Add remove button to global messages

I want to add a delete icon to the global messages in Magento 1.9. But it seems there is no template file for these messages (or at least, I can't find it in my installation and on the internet). Is ...
user avatar
3 votes
3 answers
3k views

Magento 2: Sorry, no quotes are available for this order at this time Change Message

I would like to change message "Sorry, no quotes are available for this order at this time" In which file, i can change? Can it will be manageable by Admin?
user avatar
  • 9,473
0 votes
1 answer
75 views

How to check if user entered wrong credentials?

I've edited tm/firecheckout/checkout/link.phtml to display a modal window in shopping cart when the user is not logged in. I've set it up that when a user enters the wrong credentials (...
user avatar
0 votes
1 answer
30 views

Overriding a message block in Magento theme affects the admin area

I wanted to provide a different style and markup for the notices. I thought these were found in a template file 'core/messages' but it turns out the output comes from a block Mage_Core_Block_Messages. ...
user avatar
  • 103
0 votes
1 answer
146 views

Check or display every possible global message

Is there a menu or page where I can check all the possible global messages? I want to translate them to Dutch and German, but I saw that not every global message is translated yet.
user avatar
4 votes
3 answers
8k views

Magento 2 : Error/Success message won't remove from page after refresh once display

After display success/error message like "Item Added in cart" it won't remove from the page after refreshing the page. I am using Magento CE 2.0.7 version. Any one have the solution of this issue, ...
user avatar
1 vote
1 answer
569 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.
user avatar
6 votes
3 answers
3k views

How to add link in Success message?

I want to add link in cart added message Make shopping Cart as link In checkout cart add controller i am changing message like this $message = __( 'You added %1 to your <a ...
user avatar
  • 5,051
0 votes
1 answer
80 views

How can I add programmatically welcome message with user name [duplicate]

How can I add programmetically welcome message with user name, with this welcome message display all of my page.
user avatar
  • 679
1 vote
0 answers
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/...
user avatar
  • 11
0 votes
1 answer
331 views

Position of Error Message Block not changed

I have a problem with my theme: The error message is not at the top of the page. It should be like this: Now the real problem: For my test environment I already found a solution, by changing the ...
user avatar
3 votes
1 answer
6k views

Magento 2 : success messages are not showing [duplicate]

I am trying to add success message in my controller but messages are showing. In my controller class, I have extended \Magento\Framework\App\Action\Action class and using below code to add success ...
user avatar
  • 1,662
3 votes
1 answer
1k views

How to customize global message HTML?

How do I customize the HTML for the global messages block? it's called in most templates: <?php echo $this->getChildHtml('global_messages') ?> But I can't find reference to what is ...
user avatar
23 votes
2 answers
36k views

Magento2 Notification messages

In Magento2, how do we print the input data into notification messages for - Error - Success - Warning - Notice
user avatar
  • 2,546
1 vote
0 answers
130 views

Display custom massage if user is not logged in! [closed]

I use the function "add to wishlist" in my magento ecommerce web store! if user is not registered and logged in, he is not able to add the product to his wishlist. What I would like to accomplish is ...
user avatar
  • 583
3 votes
1 answer
4k views

How to display errors from a custom controller in the view cart page?

I've created a custom controller to add multiple items from a grid view to the cart all at one time. Works just fine - the problem is the success and error messages are not being displayed on the ...
user avatar
0 votes
1 answer
1k views

How to override magento messages in the product page

I'm trying to override the messages block in the magento product page [and every other page actually] I'm trying to extend [and override] the default messages class. So far I have this: in /app/etc/...
user avatar
1 vote
1 answer
228 views

Magento global notification not showing after upgrade

After the upgrade to Magento to 1.9.2.0 the global message block is not shown anymore. The block is called in the template. <?php echo $this->getChildHtml('global_messages') ?> Any help ...
user avatar
13 votes
6 answers
14k views

How to show session messages at front end in magento 2 beta

I want to show an error or success message in my magento 2 module. I have extended my front-end controller with the class name \Magento\Framework\App\Action\Action. Then I redirect client to home page ...
user avatar
  • 2,255
1 vote
1 answer
213 views

Why shipping error message not change

Message is so that I can't customize it. "Displayed Error Message" in Admin -> system -> Config -> Shipping Methods The question is : Why shipping error message not change.
user avatar
1 vote
1 answer
1k views

No message block on checkout cart page

I have my checkout cart page running on https. When I am applying any coupon or removing, it is not showing any message to the user. When I am using non secure checkout page, then Magento is showing ...
user avatar
  • 8,598
1 vote
1 answer
243 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 ...
user avatar
  • 379