4

I've installed magento version 2.1.1 and facing issues that Magento's default success/failure messages not showing at frontend on top of the page.

Example 1. If I add product to cart it doesn't show success message for adding product to cart however product is added to the cart.

2. I'm submitting contact us form, receiving email but success message not showing at top.

Can someone help me to resolve this?

Nitin Pawar
1,5669 gold badges24 silver badges49 bronze badges
asked Nov 25, 2016 at 5:56
1
  • I'm seeing this error in firebug "ReferenceError: cookieMessages is not defined" Commented Nov 25, 2016 at 6:01

1 Answer 1

0

Finally I figure out this issue and fixed it.

I had created a custom theme on magento version 2.0 and overridden few default templates/js files of core Luma theme.

After few days, that instance was corrupted and hence I've installed latest Magento version i.e. 2.1.1 and used my custom theme there. Everything working fine except this issue. So I looked into it and found that Magento Team has done some changes in core templates/js etc. Then I found the culprit is messages.js at app\design\frontend\Vendor\theme_name\Magento_Theme\web\js\view. I've replaced that file, deployed content and Magento showing success/failure messages now.

Hope someone may help this.

Thanks.

answered Dec 1, 2016 at 6:41
1
  • Could you please provide full path app\design\frontend\Vendor\theme_name\Magento_Theme\web\js\view ?? Commented Dec 8, 2017 at 7:14

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.