Questions tagged [success-message]

Questions related to success message notification

Filter by
Sorted by
Tagged with
4
votes
1answer
1k views

Custom popup message while add to compare on product list page

while add to compare on product listing page I want to add a popup for success message instead of Magento 2 default success message. Help would be appreciated.
4
votes
1answer
636 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',...
3
votes
1answer
58 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
2answers
1k views

Success message in popup

I have a frontend form in my custom module. On submitting the form,I want to display the success message in a popup with some custom content. How is it possible? Please help. This is my controller. ...
3
votes
0answers
57 views

How to hide success message after some time in contact us page success?

I tried below way to hide a success message after some time in contact us page. But Not working. app\code\Eight25media\Messagehide\view\frontend\requirejs-config.js var config = { "map": { "*":...
3
votes
0answers
248 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 ...
2
votes
1answer
206 views

Newsletter Subscription messages core session

On Magento 1.9, in /app/code/core/Mage/Newsletter/controllers/SubscriberController.php there's newAction() function that returns success or error messages. The success message for example uses Mage::...
2
votes
1answer
52 views

How to concatenate the success message in magento 2 in cart?

I created a module to alter the cart message. app\code\Eight25media\Changemsg\etc\frontend\events.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
1
vote
2answers
4k 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 ...
1
vote
3answers
1k views

Change success message on applying coupon code

In Magento 2.x, By default, we can set coupon codes from Marketing->Cart Price Rules. I've added a test code and it's working as expected. When I added the code in cart page (mysite.com/checkout/cart)...
1
vote
1answer
2k views

Success message doesn't show in my custom module in magento 2

I have created custom success message which would be shown after the form submission. I have enabled full page cache is backend now that message is not showing. So, I changed cachable="false" for ...
1
vote
3answers
324 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 ...
1
vote
1answer
546 views

How to override Registration success message magento 2?

I am trying to override CreatePost.php in local but its not working properly. Below i am pasting the code please check once. I am trying to override the code in getSuccessMessage function C:\...
1
vote
1answer
656 views

Success message is not showing while submit review form in magento 2

I am facing issue when submit review form in product detail page.when submit review then success message is not showing after reload. But when adding product to cart on the same page then it showing ...
1
vote
2answers
34 views

Getting error when using $messageCollection->getLastAddedMessage()->getText(); in magento 2

I created a module to add available qty to cart when customer request more than available qty. below is my code set. app/code/E25media/MagentoCommunity/etc/frontend/di.xml <?xml version="1.0"?&...
1
vote
1answer
1k views

Magento 2 : I need to change add to cart success message after adding product into cart through plugin

I need to change add to cart success message after adding product into cart through plugin. Currently i have used below code for override cart method and its working fine. <preference for="...
1
vote
1answer
11k views

Popup modal: To display Success message in popup model in magento 2

I have created form in popup modal and it works successfully. After submitted a form it shows an alert. But I need success message instead of alert, in Popup itself after submitted a form. Please ...
1
vote
1answer
45 views

After Newsletter Subscription,Confirmation Message Should be display on top instead of bottom on Home Page

How to move Success, Error messages position on top for home page only (others are already on top)? I want to display Newsletter Subscription Message on top instead of bottom for home page only.rest ...
1
vote
2answers
908 views

Unable to add success message in magento2?

Unable to add success message through ajax success function using messageManager in magento2. How to display default message of magento2 using ajax functionality? JS code $('#...
1
vote
0answers
113 views

How to update success/error message using PLUGIN in Magento 2?

I have already checked this link and found it working, but in this thread, the observer is used to change the success/error message. I want to know whether it is possible to change/update the success/...
1
vote
1answer
167 views

Magento 2: Add success message with Identifier

In Magento Message Collection /vendor/magento/framework/Message/Collection.php. There are two method to get and delete message by Identifier, getMessageByIdentifier and deleteMessageByIdentifier. ...
1
vote
1answer
91 views

Magento success page (1.9.3.9) is showing weird message (Item has been added to your shopping cart)

The code message is shown between 'Your order has been received' and 'Thank you for your purchase'. The template success.phtml looks like this: <div class="page-title"> <h1><?php ...
1
vote
0answers
10 views

Admin grid: Response is not displayed in Backend in magento2

I have created admin grid and associated form,It saved the items and worked good, But failed to show the response message.Please provide me a solution <?php namespace X\Y\Controller\Adminhtml\aaa;...
1
vote
0answers
266 views

How to display all session messages as popup in Magento2? [closed]

I want to display all session messages into popup instead of normal notification messages.
0
votes
1answer
266 views

Magento 2 - Overriding Success Page

I'm trying to modify content in Thank you page, and the file I'm modifying is on the path: Theme/Magento_Checkout/web/template/success.phtml. But it seems I'm missing something, because after many ...
0
votes
1answer
1k views

How to the Magento 2 Success Message in Open Popup Box

User Product Add to the cart after Success Message is Open to the Popup Box
0
votes
1answer
673 views

How to display custom message

I want to display a custom message on product page after Ajax add to cart success message in list page. Can you suggest anyway?
0
votes
1answer
518 views

Success message not shown after saving a item in magento 2

I have created a custom admin grid and an associated form in magento 2. While saving a item the success message is not displayed. Do I need any special component in grid to add success message in my ...
0
votes
1answer
1k views

How to add a custom success message to Magento newsletter form?

I added a newsletter form on a CMS page and I created a new template to show the form. I was wondering if there is a way to display a custom success message for just that one form? It seems I ...
0
votes
1answer
22 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');
0
votes
1answer
239 views

Magento 2 - Show error/success message as Alert/Modal

I want to show Magento all success/error message as alert or in a modal. Is there any way to do that?
0
votes
1answer
130 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 ...
0
votes
1answer
208 views

Magento 2: Newsletter subscription success message disappear so fast

While subscribing newsletter, it disappears the success message so fast,So it is unable to notify the frontend user. Please provide me a solution.
0
votes
2answers
298 views

Hide all success as well as error message message after some interval [duplicate]

I want to hide all success messages after some interval. I have added following code in messages.js but it will not work on Add to cart success message. In short it will not working on messages which ...
0
votes
1answer
46 views

set Error message content from the static blocks magento2

I am setting error message using below code. $this->_messageManager->addError(__('you must login to continue.')); Is it possible to load the message from the static block content. for example ...
0
votes
0answers
257 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 ...
0
votes
1answer
743 views

How to display Notification Message in a page

I use magento 2.2.1 version. I just tried to show notification messages and I use this code. You can go to Controller/Test/Crud.php. I also injected \Magento\Framework\Message\ManagerInterface $...
0
votes
1answer
4k views

Magento 2 : Add to Cart Success Message in a Popup

How can I show Add to Cart success message ("You added 'Product name' to your shopping cart.") in a popup in Magento 2?
0
votes
1answer
794 views

Order confirmation email not sending to admin or customer

After placing an order the order success page shows but Order confirmation email is not sending to admin or customer. When i refresh cron.php on with my site url however, i receive mail.