0

Magento Success Message Issue when add product it will displays on different page like when we go to contact page it will display on that page means it will not display on product page and it display on another page. enter image description here

Please Provide me hints for to resolve it

1 Answer 1

2

Are you using some CDN?
Which cache you are using?

Generally Magento session message will print on next Http request i.e like if you are at product detail page and do add to cart then you redirect user again to product detail then it will show on product detail if it will hit the server. If it will be from some cache or server then message will only show when next http request hit the server.

10
  • Thanks Aman For Reply, I don't know what is CDN but i am installing three modules namely Magefan Blog, Solwin Instagram And Peec Facebook. So it is affect? And only for prduct the message will display on next url.I am adding product from product view page like product view page.
    – Moin Malek
    Commented Feb 22, 2017 at 10:18
  • So after adding product from product view page where users are redirecting? Commented Feb 22, 2017 at 10:31
  • No user isnot redirecting.If i am adding product it added in minicart but the problem is the success message should not display for that page. It is display to next URL like any Url u r searching.
    – Moin Malek
    Commented Feb 22, 2017 at 10:33
  • I think either you can redirect user to same page after adding product to cart or you can use thislink to remove that success message : remove success message Commented Feb 22, 2017 at 10:39
  • No i am not using any link to remove success message. I am not touch any file of the Message.This issue only for add product any other working right.
    – Moin Malek
    Commented Feb 22, 2017 at 10:46

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.