Questions tagged [messages]

Denotes questions related to Static content deploy command. The static view files deployment command enables you to write static files to the Magento file system when the Magento software is set for production mode.

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

Magento2 Success msg not getting displayed after redirection

Magento2 I need to redirect to home page & display success msg after Submitting custom form in cart page. I have written below code in my custom controller file but msg doesn't print on Home page ...
0
votes
0answers
18 views

Issues with <!— ko if: messages().messages && messages().messages.length > 0 -->

I had problem with file : /vendor/magento/module-theme/view/frontend/templates/messages.phtml. I'm using Magento version 2.2.3 . In current, when I run test with add product bundle from list product ...
0
votes
1answer
43 views

Magento 2.3.4 change message text 'sorry no quotes are available for this order at this time'

My question is identical to this Magento 2: Sorry, no quotes are available for this order at this time Change Message but the answer is not correct. I wish to change the message to something like '...
0
votes
0answers
30 views

Magento2.3 - Form messages not displaying

In my Magento website, no Success/Error message is displayed after submitting Registration/Contact form. I have tested this both on my custom theme and default luma theme. Message block exists in ...
0
votes
1answer
57 views

Magento 2: Prevent “Add to Cart” Error Message Autohide

On product page, if you try to put more than available product count into the shopping cart, there appears a red error message "The requested qty is not available" thats good. But in my magento ...
1
vote
0answers
17 views

Why do I see action notification messages on other pages?

Sometimes when I added products to the cart or I type wrong my password, I see the warning message in the checkout success page. How could I fix it?
0
votes
1answer
83 views

How to show validation or disable checkout until the phone number get verified with otp in magento 2?

I am verifying the phone number through OTP in Magento 2 one page checkout. when the user clicks the place order button before the phone number gets verified, I need to show a validation message to ...
1
vote
1answer
129 views

How to make notification popup in admin Magento 2?

how to make notification popup in admin as a module. Any help? Thank in advance.
1
vote
1answer
42 views

How to show “custom message” in payment section when COD disable for particular product Magento 2?

I followed the steps in the below link to disable COD for a particular product. magento 2 payment methods hide by code. But I need to show a custom message(some of the items in the cart are not ...
1
vote
0answers
43 views

Magento 2 : Message manager not working

In Magento 2.3.3, I save form data by ajax and need to display success message after save records. Expected Result : Message manager should be display. Actual Result : Message manager not ...
1
vote
1answer
106 views

update message “ Your search returned no results. ” when no records found

I wanted to update message " Your search returned no results . " in magento2.But i am not getting directory file to change the message.I am new to magento2. Please let me know the exact file path ...
0
votes
1answer
27 views

How to display custom message in console when your custom module is successfully installed?

I am wondering how to display a custom message when installing your own custom module by presumably using and defining the correct operations in the InstallSchema class. Which is the best way to ...
0
votes
0answers
36 views

Magento 1.9 : How to Send Mag::Log error using Whatsapp?

How can i send my EventObserver log message by whatsapp message?
0
votes
3answers
242 views

Magento 2: How to add hyperlink on text in knockout template

Welcome message = "Welcome Sign-in". I want to add my account link on Sign-in text in the welcome message. sign-in text should be a link and direct the user to my account page. <?php $...
0
votes
0answers
27 views

Display a message regarding cart discount in header of all the pages in Magento 2

I am showing one message regarding cart discount in the header of all the pages, but on some pages, the discount is not showing as if the cart is empty. How to fix this issue.
0
votes
0answers
12 views

M2 - Messages from Magento_Theme > messages.phtml

Where are the messages coming from who a shown via "Magento_Theme > messages.phtml" I need to translate some message but I can't find them. I've searched in the database, all the files in App and ...
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 ...
0
votes
0answers
23 views

Magneto 1.x multiple and distinct messages on same page

Is it possible in Magento 1.x to have two distinct messages on a page? For my use case, I want a main full-width message at the top of the page and a smaller message in div lower down on the page. At ...
2
votes
1answer
102 views

Magento addComplexSuccessMessage on admin module

I'm trying to use the addComplexSuccessMessage function on admin custom module, but I get an empty message. The code I have is the following: /etc/di.xml <!-- Admin HTML Complex Messages --&...
0
votes
1answer
186 views

How to translate message.text in magento 2

i want translate " The requested qty exceeds the maximum qty allowed in shopping cart ". I think it's in the template but when I find it, it's here app\design\frontend\Mgs\dukaken\Magento_Theme\...
0
votes
2answers
453 views

magento 2 unhide any messages

As per default Magento 2 behavior, any message like success, error or notice, etc hide after 5 seconds. I don't want to hide any message so that user can read message. See below image that display ...
2
votes
0answers
80 views

Listener when message is set in Magento 2

I am deleting the mage-messages cookie, how sometimes it's not getting deleted for iPhone Safari browser. I have even added set timeout for 5 sec. The issue is the notification persists on other pages ...
4
votes
0answers
178 views

Magento 2 Admin Notifications - what makes a notification popup when the admin user logs in?

Occasionally, an admin notification can pop up when an admin user logs into the Admin Panel. The popup usually shows in an orange style box and can be closed easily, but not all poups show like this. ...
1
vote
0answers
148 views

Magento 2.3.0 - Newsletter subscription message not on homepage

When I submit the newsletter subscription form on the homepage, the page will reload but no message will be shown. When i go to an other page the message is visible for 8 seconds and fades away (that'...
2
votes
2answers
1k views

messageManager addSuccessMessage/addErrorMessage set cookies?

Whenever I addSuccessMessage/addErrorMessage it sets the cookie? But I am not able to get that code, where that magic happens. In messages.js it gets that message by using code $.cookieStorage.get('...
1
vote
0answers
227 views

Issue with mage-messages cookie in iphone safari

For my device testing (iPhone Safari), multiple notifications pop on, from the code message.js initialize: function () { this._super(); this.cookieMessages = _.unique($....
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 ...
0
votes
1answer
269 views

Magento 2 : Duplicate notification message on Mobile device

I followed this link to remove all my duplicate messages. Error/Success messages show wrong page and are not cleared It worked for desktop chrome. But when test it on actual device like android ...
4
votes
1answer
622 views

Remove notification messages on refresh

Sometimes the notification messages don't get disappear on page reload or when I navigate to the different page. Is there some kind of timeout for the notification message or some session cookies? I ...
1
vote
1answer
322 views

How to remove Add to cart warning message without size color selection?

I have to remove the You need to choose options for your item. on Add to cart button when I don't select any color or size. I don't want to show this as a global message. I found that Add to cart is ...
1
vote
3answers
797 views

How to move notification message top of the page for all page

I am trying to move all notification message on the top below header(or any specific location) I followed this link but this only achieve top for customer page only Magento 2: Change message ...
3
votes
1answer
165 views

Magento 2 notifciation message issue

My error/success messages in Magento has latency, means it appears when I go to the next page. i.e, When I add a product to cart, instead of showing a success notification message on the refresh of ...
3
votes
1answer
46 views

Adding Message under Payment Method (like paypal redirect message)

I need to add message under Redsys Payment Method (like paypal redirect message) when you click it. Example: Where i can add this?
0
votes
0answers
24 views

How to speed up of Displaying Messages (success,Error,Notice) in Magento2?

Currently in Magento2 site Success,Error or Notice Message taking too much time to display. How to speed up?
0
votes
0answers
20 views

Exception Not Working

I have an observer for sales_order_save_before The custom message shows when the user is logged in, but throws the generic message if they are a guest. Does anyone know why this is happening?
1
vote
0answers
68 views

Ho do I stop SLAVA YURTHEV from sending messages to our back end Magento administration page?

This is something that in 15 years of Magento use we have never encountered. A developer, (whose extension we PURCHASED), will not stop sending marketing messages to the administration page of our ...
0
votes
0answers
48 views

Magento 1 show pop when product added to cart

Is there an easy way to show a popup that a product is added to the cart in Magento 1.9? The popup message itself will be no problem to create, but I need the code-part that checks and shows the ...
1
vote
3answers
948 views

How to hide messages after certain time

I want to hide success / error messages after 5 seconds once I have added items to the cart. I have extended messages.js with the following code to hide the message after 5 seconds setTimeout(...
0
votes
2answers
572 views

How to show success or error message block at the top of the page

I need show success or error messages block at the top of the page before the header block. As of now it appears between the breadcrumbs and main block.
1
vote
2answers
523 views

Custom swatch message 'This is a required field'

Is there a way to customize the 'This is a required field' message when you don´t select a swatch option? I want to change it to "Please select a color" and "Please select a size" Thanks!
5
votes
1answer
1k views

How to hide magento 2.2 messages after a time has passed?

I want to remove the success notification message with animation included, trying with below code with no success: define([ 'jquery', 'uiComponent', 'underscore', 'Magento_Customer/js/customer-data',...
0
votes
2answers
611 views

Magento 2: How to solve this {{system messages }} issue

How can i solve this issue ? it is weird {{{System Messages}}{{System Messages}}{{System Messages}}{{themeMagento/backend}}} This issue is appearing/ visible every where in the admin almost
2
votes
2answers
403 views

Complex message not working

I've followed this tutorial: https://store.fooman.co.nz/blog/displaying-complex-error-messages-in-magento-2.html This is my di.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/...
2
votes
0answers
312 views

Add a link into error message

How can I add a link into an error message from Message Manager ? I have this : $physicalLink = "<a href='".$produtToAddUrl."'>".$produtToAddName."</a>"; $this->_messageManager-&...
3
votes
1answer
492 views

Magento2: Session messages not removed properly - persist across multiple requests

I have facing in cache issue in my magento 2 store here if i submit any form getting error and success message coming when refresh page.i don't understand why this issue comes again and again .if any ...
6
votes
1answer
2k views

Magento 2 : How to Clear Previous Messages in MessageManager

I have added a below line in my observer file for the event checkout_cart_save_after $this->_messageManager->addNotice(__("A Notice Message")); Every time it hits observer, it displayes more ...
1
vote
1answer
518 views

Magento 2 error message when customer login failed (f.e. wrong password)

How can I output an error message on login page if customer input wrong password? I use default login-template but no error message is shown ... Thanks! Martin
1
vote
3answers
6k views

How to use Javascript to display page messages

Is it possible to use JavaScript to display a page message? I would like to display one when I receive an ajax response on a custom module I'm working on. You can see an example of one of these ...
2
votes
2answers
63 views

How can i display product detail page page notes for Selected Store?

I have notes for my store 1 like Delivery: 10 Days, and I have another store and I need to change notes like Delivery: 20 Days, The condition like if store 1, Delivery: 10 Days, and if store 2, ...
1
vote
3answers
451 views

How to list all of Magento 2's messages

I've seen multiple types of messages on magento 2. Error messages, success messages and so on. How can I get the total number of messages that magento can provide? It should be sum of messages ...