Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [global-messages]

The tag has no usage guidance.

1
vote
0answers
34 views

Error message in cart page showing twice Magento2

In the cart page, I am getting error message multiple times. This is the scenario Product A having qty 4. I have added 3 qty of items to cart for Product 'A'. An item with qty 3 is there in the ...
3
votes
0answers
43 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 ...
0
votes
1answer
28 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 ...
1
vote
0answers
50 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. ...
0
votes
0answers
73 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
54 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 ...
3
votes
2answers
935 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 ?
0
votes
2answers
320 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="...
0
votes
1answer
44 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 ...
2
votes
0answers
230 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 , ...
0
votes
0answers
100 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 ...
1
vote
0answers
451 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 ...
3
votes
1answer
681 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 ...
1
vote
1answer
2k 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 ...
1
vote
0answers
718 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
3k 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 ...
0
votes
0answers
715 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. ...
6
votes
1answer
3k 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()) { ...
4
votes
2answers
246 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 ...
2
votes
2answers
1k 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?
0
votes
1answer
66 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 (...
0
votes
1answer
26 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. ...
0
votes
1answer
85 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.
3
votes
3answers
5k 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, ...
1
vote
1answer
504 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.
6
votes
3answers
2k 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 ...
0
votes
1answer
57 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.
1
vote
0answers
1k 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/...
0
votes
1answer
273 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 ...
3
votes
1answer
4k 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 ...
1
vote
1answer
892 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 ...
19
votes
2answers
20k views

Magento2 Notification messages

In Magento2, how do we print the input data into notification messages for - Error - Success - Warning - Notice
1
vote
0answers
123 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 ...
3
votes
1answer
2k 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 ...
0
votes
1answer
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/...
1
vote
1answer
193 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 ...
12
votes
6answers
10k 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 ...
1
vote
1answer
205 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.
1
vote
1answer
978 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 ...
1
vote
1answer
169 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
85 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 ...
2
votes
2answers
2k views

How to remove the 2 checkboxes from the Gift Messages on Order Level?

I enabled the Gift Messages on Order Level by going to System > Configuration > Sales > Sales > Gift Options. Now - the Gift message shows up on the delivery page during the checkout ...
1
vote
2answers
3k views

Access global messages after redirect to referrer

I have a save address function in my checkout and after the validation in the controller takes place if there is an error the following gets rendered. if(isset($result['error']) && $result['...
0
votes
2answers
1k views

Add markup to out of checkout/cart stock message

I have copied /app/code/Core/Mage/CatalogInventory/Model/Stock/Item.php to /app/code/local/Mage/CatalogInventory/Model/Stock/Item.php. At line (aprox) 580 the following code exists if (!$this->...
4
votes
1answer
1k views

Why error message added via the `$quote->addErrorInfo()` don't show up in the shopping cart?

Why error message added via $quote->addErrorInfo($type, $origin, $code, $message) don't show up in the shopping cart even though it adds the message to Mage::getSingleton('core/message')->...