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
1 answer
19 views

How do I create a Magento block that has input fields for to store values in variables?

My code for displaying rotating messages is currently hardcoded and I have to go in and update the messages manually. I want to replace this with a new block in magento so other people can just go ...
Alyx's user avatar
  • 1
0 votes
0 answers
42 views

Magento 2: messageManager is not working for Website admin users

I am using messageManager to show message after redirecting to the controller for adminhtml. It is working fine for the Role Administrator, but the message is not displaying for the website admin ...
Arun Sharma's user avatar
  • 1,205
0 votes
0 answers
126 views

Show backorder notice message in mini cart like checkout page

I want to show backorder notice message in mini cart how can I do that just like that :
Hafiz Arslan's user avatar
1 vote
0 answers
46 views

What is the best solution to smoothly hiding magento messages with click on a close button?

I customized message.js for smoothly messages hiding - now messages will be smoothly hidden afters 5 seconds. Here is the code. define([ 'jquery', 'uiComponent', 'underscore', 'Magento_Customer/js/...
iskander's user avatar
  • 327
1 vote
0 answers
175 views

Magento 2 message manager not working on product page

I have an issue where add to cart error is not appearing on the product page because the whole page was cached. once i disabled the cache then the validation is working fine. i also tried to edit ...
Mage Kid's user avatar
0 votes
1 answer
449 views

messages disappear too fast when updating quantities via an ajax request

I'm trying to update quantities in the shopping cart in Magento 2.3.2 via an ajax request but I'm confused about the error messages. In my code after the ajax request has completed I execute the ...
gabtzi's user avatar
  • 626
0 votes
1 answer
1k views

Magento2 Error Message not shown after redirection to another Page

Magento2 I need to redirect to Home page & display error msg after clicking button in product detail page. I have written below code in my custom controller file but msg doesn't print on Home page ...
Unknown's user avatar
  • 581
0 votes
1 answer
1k views

How to delete a message in message_queue where the message is processed?

I'm try to create a message queue example by find some example on internet (i.e https://store.magenest.com/blog/create-a-message-queue-in-magento-2/), here is the consumer class <?php namespace ...
hkguile's user avatar
  • 2,201
0 votes
1 answer
380 views

Magento 2.3.4: Translation with special charactors "\n"

I need to translate this question: "The requested qty is not available\nSome of the products are out of stock." This is a message from API payment information on the checkout page when I ...
Simpa407's user avatar
0 votes
1 answer
102 views

Magento 2, How to Display Demo store message on home page only?

In Magento 2.4.x, How to Display Demo store message on specific page (home page) only?
Saravanan DS's user avatar
  • 1,118
0 votes
1 answer
2k views

Magento 2 : Not Showing Success or Error Message in Front end

We have Magento 2.4.3 in our local system. But error and success messages don't appear, it will appear on different Magento or on different pages. It is working on the server. Also tried changing the ...
Rutu Shah's user avatar
0 votes
1 answer
452 views

Display message twice on the page in Magento 2

I'd like to display the default Magento page message block twice on the Cart page. It is now displayed at the top of the page. I would also like to display it at the bottom. Is that possible?
zekia's user avatar
  • 610
0 votes
1 answer
860 views

Mage-messages cookie messages not displayed in magento 2.4.2

I am facing an issue that Magento pages like customer registration, login, forgot password, etc not showing any success or error message. I found that cookie with the name mage-messages generated ...
Yogita's user avatar
  • 784
1 vote
2 answers
850 views

add close button to messages Magento 2

Need to add close button in default Magento messages(success,error,notice). I have tried to add it in messages.phtml but nothing happens. Please help!
sara ben's user avatar
2 votes
0 answers
175 views

Stored payment methods not showing error message? Magento 2

Stored Braintree credit card error message area not getting any message after failed order placement. I found that The error message does show but in Braintree Credit card method, not in Stored credit ...
Long Nguyen's user avatar
0 votes
0 answers
231 views

How to debug that my all error message is not showing in Magento 2?

I have a Magento 2 Store. So i when i try to login with wrong cred. it just doesn't show me error its just reload the page like this. i have switched the theme but there is still the same issue on ...
Prits's user avatar
  • 626
0 votes
0 answers
82 views

Message inbox missing - No notifications

The message inbox is missing in two of our shops (Magento 2.4.2). We can not see messages and do not have the notification bell on the top right (see screenshot). There are entries in the ...
Max's user avatar
  • 17
1 vote
0 answers
540 views

Magento2 how to display (stay) messages on checkout page

In the magento2 how to handle When the credit card is declined in Magento there is a message that pops up only for a few seconds to alert sho the card has been declined. Can we make the message stay ...
Nagaraju Kasa's user avatar
0 votes
2 answers
942 views

How to edit the change password validation message for customer in magento 2?

suppose , after a customer login into the website(you may need to sign up first as a customer), after a customer login then he click on change password option from the drop down , he will reach a ...
Vibhore Jain's user avatar
0 votes
1 answer
311 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 ...
Morgan FORGES's user avatar
0 votes
0 answers
130 views

How to add count down hide all message in magento 2

I want to hide the message displayed in magento 2, after doing actions like add to cart, login, add wishlist, compare, error info, ... anyone have a good idea for my question? . Thanks everyone
nhungo duc's user avatar
2 votes
0 answers
259 views

Show a message under shipping method in magento 2

I have created a shipping method by following this link https://www.mageplaza.com/devdocs/magento-2-create-shipping-method/ I just wish to display a custom message under the specific shipping method. ...
Jaisa's user avatar
  • 2,522
0 votes
2 answers
33 views

Messages add product, removeAll

where is function to remove all messages (add or error)? I want to remove message one by one, now magento deletes all at once.
mac_mod's user avatar
0 votes
1 answer
190 views

Success/error Messages not closing after 2.3.5 update

Thanks for reading. I've been working on a Magento2 project for the past couple months. Recently we updated from 2.3.0(or 2.3.1, I can't remember) to 2.3.5. Sadly, this caused more bad than good. ...
Laantje's user avatar
0 votes
0 answers
105 views

Why Success Message is not shown on mail sent in Magento 2?

I have create a custom module which send mail. The mail functionality works perfectly but success message not show up. mail code is : <?php namespace Codextblog\Customemail\Controller\Index; use ...
Prits's user avatar
  • 626
1 vote
2 answers
2k views

Magento 2 : add custom message on checkout page on shipping address change

I want to show custom message under shipping method section. when address changes message also change/remove. for example: When custom select Columbia addess I want to show custom notice/message ...
Tirth Patel's user avatar
  • 1,039
2 votes
1 answer
169 views

addNoticeMessage Vs addNotice : how pass URL in message with new function

I wanted to add notice to page with URL $this->messageManager->addNoticeMessage( __( 'Go to my account, <a href="%1"> My account</a>', ...
Vishwas Bhatnagar's user avatar
3 votes
1 answer
821 views

Magento2: Show custom message after shipping method

I want to show custom message under each shipping method as shown in the screenshot. For this I have created a message field in admin configuration and I want to show that message under respective ...
Purushotam Sharma's user avatar
0 votes
1 answer
631 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 ...
Arjun's user avatar
  • 3,526
0 votes
1 answer
949 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 '...
Nath's user avatar
  • 15
0 votes
0 answers
48 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 ...
zekia's user avatar
  • 610
0 votes
1 answer
875 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 ...
Dave Es's user avatar
  • 21
1 vote
0 answers
37 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?
Rafael Corrêa Gomes's user avatar
0 votes
1 answer
547 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 ...
Arul's user avatar
  • 309
1 vote
1 answer
664 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.
MichaelHa's user avatar
  • 671
1 vote
1 answer
274 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 ...
Arul's user avatar
  • 309
1 vote
0 answers
601 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 ...
Rohan Hapani's user avatar
  • 17.3k
1 vote
1 answer
845 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 ...
Maruti_magento2's user avatar
0 votes
1 answer
106 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 ...
Κουντρέτ Σπύρου-Μαντάλ's user avatar
0 votes
0 answers
99 views

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

How can i send my EventObserver log message by whatsapp message?
zus's user avatar
  • 145
0 votes
3 answers
2k 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 $...
Purushotam Sharma's user avatar
0 votes
0 answers
88 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.
gajjala sandeep's user avatar
1 vote
0 answers
63 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 ...
Anshu Mishra's user avatar
  • 8,908
4 votes
1 answer
563 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 --&...
Nuno Almeida's user avatar
0 votes
1 answer
786 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\...
TN98's user avatar
  • 923
0 votes
2 answers
2k 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 ...
Hiren Shah's user avatar
2 votes
0 answers
238 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 ...
summu's user avatar
  • 837
4 votes
0 answers
401 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. ...
C-dawg's user avatar
  • 81
1 vote
0 answers
224 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'...
n00bly's user avatar
  • 623
2 votes
2 answers
4k 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('...
summu's user avatar
  • 837

1
2 3 4 5