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
1
vote
0answers
14 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
43 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
51 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
27 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
33 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
35 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
28 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
92 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
21 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
11 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 ...
0
votes
0answers
25 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
18 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
44 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
92 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
279 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
47 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
113 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. ...
0
votes
0answers
26 views

i want to add gift box message(text field) on product page magento 1

I want to add custom gift box message(text field) on the product page so please suggest how we can do this? And this field is shown on the checkout page with a particular product and it is also ...
1
vote
0answers
124 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'...
0
votes
0answers
54 views

Inline validation error in login form Magento 2

Right now, I am getting a global error message for wrong email/password`. I want it to be an inline error message instead of a global message. Like this. Right LoginPost.php sets error message , i ...
1
vote
2answers
652 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
131 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
45 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
174 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 ...
3
votes
0answers
343 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
268 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
437 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
73 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
40 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
23 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
55 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
34 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
521 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
354 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
364 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!
4
votes
1answer
725 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
1answer
358 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
288 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
204 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
362 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 ...
5
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
407 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
5k 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
56 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
2answers
348 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 ...
1
vote
0answers
41 views

Magento 2: How to display messages in cachable pages

As a part of my functionality, using below I'm dispatching a conditional error message. <event name="controller_action_predispatch"> <observer name="...
0
votes
0answers
287 views

Custom theme is not showing success messages on product page

My other pages showing messages properly but not working on the product page. when I try to add to cart it does nothing. When I goto cart page it shows multiple time the success message. I tried by ...
1
vote
0answers
42 views

Magento Success/Failure Message for the Form Submission using Javascript

I am submitting the form to edit primary shipping and billing addresses via ajax (2 forms, 1 page), and it finally works like it has to. Now, I'd just like to add messages that magento sets for those ...