Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

The tag has no usage guidance.

1
vote
2answers
50 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
1answer
18 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 ...
0
votes
0answers
18 views

Create an account button not showing on success page in magento 2

Create account button not showing in success page.It comes from checkout_onepage_success.xml. <referenceContainer name="content"> <block class="Magento\Checkout\Block\Onepage\Success" ...
0
votes
0answers
38 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
0answers
109 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="...
0
votes
1answer
65 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
0answers
34 views

Magento 1.9: Messages are not being displayed in admin area

I am using Magento 1.9.3.8. When I am changing anything in admin, changes is being saved but no success message or error message is being displayed where as in the "Magento frontend" all messages are ...
1
vote
3answers
302 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)...
2
votes
1answer
80 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::...
1
vote
2answers
72 views

How can i edit resetpassword message in magento?

How can I edit the reset-password message in Magento 2?
0
votes
2answers
100 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
0answers
98 views

Remove default success message in one-page failure page

I have integrated online payment gateway by modifying offline payment method. After placing order in our store there is still possibility for the chance of payment failure and accordingly I redirect ...
0
votes
1answer
321 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 ...
0
votes
1answer
4k 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 ...
0
votes
1answer
348 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
0answers
18 views

Magento2: How to tell if Magento has set success / error message?

In a template I need to know if Magento has set any warning or success messages. I would use it like : if (magento_has_set_any_warnings_or_success_messages) { echo 'padding-top: 25px' } I ...
0
votes
0answers
261 views

Custom Magento 2 Messages Only Show On /checkout/cart/ Page

I am trying to write a simple extension that utilises the \Magento\Framework\Message\ManagerInterface to add a custom success message on all pages. I have built this observer: <?php namespace ...
1
vote
0answers
181 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
609 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
1
vote
1answer
900 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 ...
0
votes
0answers
77 views

Added to cart message is always displayed twice (1.9.3.6)

I'm kinda new to Magento and overtook an installation from an agency. I tried to figure it out myself but after several hours and hours i wanted to ask for help :D So. first of all, i have a block ...
0
votes
1answer
716 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 ...
3
votes
2answers
887 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. ...
0
votes
1answer
2k 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?
5
votes
1answer
643 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.
0
votes
1answer
718 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.