0

In magento 1.9, i want to unset notification manually. For example on adding product to cart we got message "xyz added to cart successfully". I want to unset that type of message/notification manually. Please anybody can suggest me, where may be file about it.

2
  • Hello Guys, anyone know about this ? Oct 10, 2017 at 4:18
  • do you want to hide success and error messages from site ? Oct 10, 2017 at 5:10

1 Answer 1

0

Open file

app/design/frontend/default/your_theme/template/checkout/cart.phtml

Or

app/design/frontend/base/default/template/checkout/cart.phtml

Go to line 47 and remove or comment this code:

echo $this->getMessagesBlock()->getGroupedHtml(); 

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.