Skip to main content

Questions tagged [success-message]

Questions related to success message notification

Filter by
Sorted by
Tagged with
0 votes
2 answers
110 views

Magento2: How to make ajax based newsletter subscription & move success message just below subscription field

I have subscription block before my footer links and after successful subscription the message appears on the top of main part, but I want to show it below subscription input.Of course there should be ...
Veronika Petkeviča's user avatar
0 votes
0 answers
38 views

Success message not showing in safari browser

We are using Magento 2.4.6 version and facing an issue on cart page. When we delete a product it shows a message, Product removed successfully. But in case of Safari, it doesn't show the success ...
Jasvir Singh's user avatar
0 votes
1 answer
95 views

Info About messages.phtml in 2.4.4 version

Hello i'm doing some debug for an issue i have and i made an override of messages.phtml to following path /app/design/frontend/Company/template_child/Magento_Theme/templates/messages.phtml inside ...
user3718303's user avatar
0 votes
1 answer
206 views

magento 2 add span tag in price

I am facing an issue with Magento 2 checkout success page. I have added API for SMS to receive final SMS about the order and when SMS is received its showing the "span" stage around the ...
Asif Jalil's user avatar
0 votes
1 answer
922 views

Customer success messages disappear too fast in magento 2

Once the customer completed the registration, the success message hide too fast? Kindly guide me to any solution to sort it out?
Jaisa's user avatar
  • 2,626
0 votes
2 answers
785 views

message2 success message

I have the same message issue in this thread Magento2 success message However, that post is old and my current version is 2.4.3 Any suggestion for fixing it? Thanks
user3718303's user avatar
0 votes
1 answer
500 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
  • 660
0 votes
1 answer
268 views

How to notify admin user after cronjob finished?

I have a cronjob that imports product data. This can take up to 40 minutes. Is there a way to notify the admin user who is logged in? I don't want the admin users to manually edit products during the ...
Max's user avatar
  • 17
1 vote
0 answers
381 views

Success/Error message not showing up in Magento version 2.3.6-p1 while login, registration and subscription

I installed a fresh Magento instance and noticed there are no messages (error/success) is showing up while a new customer registration, login with wrong email/password, submit mail to the subscription ...
Milan Chandro's user avatar
1 vote
0 answers
204 views

Magento 2 submit contact form not showing success/error messages

I'm using Magento 2.4.2 on a website with multiple stores where I have : example.com/fr example.com/es example.com/us/en ... My issue is when someone submit on the contact form, no success or error ...
baillyju's user avatar
0 votes
1 answer
179 views

Magento 2 Checkout Page after place order take more time

Frontend place order first order show in backend and after 4 to 5 min frontend redirect success page.I have remove/disable all third party module and set default theme but not success.And i have use ...
Mohit Patel's user avatar
  • 3,923
0 votes
1 answer
939 views

Magento 2 redirect back with message from controller, redirecting working fine but error message not showing

Messages do not appear after redirection. Tried many solutions but no luck. Here is the code I tried. I have created a fronted form with custom routing with URL params. public function execute(){ ...
Mukesh Khatri's user avatar
0 votes
2 answers
34 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
1 vote
1 answer
713 views

cart not getting empty after success page redirection done in magento 2

How can I empty my cart value when order successfully done in Magento 2. This issue only done with logged-in user how can I handle this issue. Is there any solution for this?
Jitendra prajapat's user avatar
1 vote
1 answer
38 views

Cart not removing product from cart when payment successfully done for loggin user

this is happing when i do transaction using paytm then success page not removing purchased product from cart is there any solution to solve it
Jitendra prajapat's user avatar
1 vote
1 answer
67 views

How to add success mesage on click of add to cart buttton in custom module in Magento 2

I want to display success message on click of add to cart button in magento 2. I am developing custom module in which i can develop functionality of add to cart and i want to add success and error ...
Deep Shah's user avatar
  • 567
1 vote
0 answers
214 views

Magento 2: How to make Message Manager showing specific message one time only?

I have a page that welcomes a customer with a message manager like this: $this->_messageManager->addSuccess(__("Welcome to test section")); the problem is this message will keep ...
jojo's user avatar
  • 49
1 vote
1 answer
300 views

Magento2.3.4 Add green border when validation of input is succesfull on Checkout Page

When input is invalid we can see red border and error message below. Is it possible to add green border when input is valid ?
maya5510's user avatar
0 votes
1 answer
430 views

Magento 2: Want to change the location of Product Page "Your added .....shopping cart" message, under the addto cart button

I have tried to relocate in layouts XML file, but it's not working. the file is in the/vendor/magento/module-checkout/view/frontend/templates/messages/addCartSuccessMessage.phtml I just want to put ...
Izhar Mehdi's user avatar
1 vote
0 answers
133 views

Third party payment methods are not redirecting to SUCCESS page

This is very strange. I am stuck for 2 months already on this. All Magento provided payment methods works normally. Bank transfer, PayPal etc do redirect to the success page. But any third party ...
Adarsh Khatri's user avatar
1 vote
0 answers
633 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.5k
0 votes
1 answer
78 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');
Anass Hl's user avatar
0 votes
1 answer
2k 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?
Nayem323's user avatar
  • 771
3 votes
0 answers
592 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": { "*":...
Mujahidh's user avatar
  • 2,813
2 votes
1 answer
386 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" ...
Mujahidh's user avatar
  • 2,813
1 vote
2 answers
227 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"?&...
Mujahidh's user avatar
  • 2,813
1 vote
1 answer
578 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 ...
Wakar Ahamad's user avatar
0 votes
1 answer
1k 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 ...
summu's user avatar
  • 847
5 votes
3 answers
5k 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 ...
summu's user avatar
  • 847
1 vote
3 answers
3k 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 ...
summu's user avatar
  • 847
3 votes
2 answers
986 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 ...
summu's user avatar
  • 847
0 votes
1 answer
640 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.
Jaisa's user avatar
  • 2,626
1 vote
1 answer
2k 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:\...
Hitesh Balpande's user avatar
2 votes
2 answers
4k 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 $('#finalSubmit')....
Unknown's user avatar
  • 581
5 votes
1 answer
3k 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',...
Alejandro Torres's user avatar
0 votes
2 answers
1k 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 ...
sagar nakrani's user avatar
0 votes
1 answer
2k 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 ...
user54226's user avatar
1 vote
0 answers
511 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/...
Mohit Kumar Arora's user avatar
1 vote
1 answer
1k 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. ...
Piyush's user avatar
  • 5,904
0 votes
1 answer
324 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 ...
Jafar Pinjar's user avatar
  • 1,949
7 votes
6 answers
21k 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 ...
Holly's user avatar
  • 4,873
1 vote
1 answer
147 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 ...
Julian Murillo's user avatar
0 votes
0 answers
386 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 ...
Mahmood Rehman's user avatar
2 votes
1 answer
5k 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="...
Dhaval Vaghela's user avatar
0 votes
1 answer
2k 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?
Mahi M's user avatar
  • 2,540
1 vote
3 answers
4k 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)...
Joey's user avatar
  • 571
2 votes
1 answer
294 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::...
Haim's user avatar
  • 2,144
0 votes
1 answer
2k 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 ...
Jaisa's user avatar
  • 2,626
1 vote
0 answers
23 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;...
Jaisa's user avatar
  • 2,626
2 votes
1 answer
1k 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 ...
Gauravbhai Daxini's user avatar