Page 1 of 1

How to remove the notification bar?

Posted: Wed Jun 08, 2011 5:20 am
by deejunit
Is there an easy way to remove the notification bar from the store front that is showing each time the customer e.g. adds an item to her shopping cart?

Re: How to remove the notification bar?

Posted: Tue Jul 19, 2011 6:23 am
by deejunit
Figured this one out myself.

I have removed the notification bar for success messages by simply removing two lines from common.js and my theme's product.tpl:

Change from

Code: Select all

if (json['success']) {
	$('#notification').html('<div class="attention" style="display: none;">' + json['success'] + '<img src="catalog/view/theme/default/image/close.png" alt="" class="close" /></div>');
	$('.attention').fadeIn('slow');
   $('#cart_total').html(json['total']);
To

Code: Select all

if (json['success']) {
   $('#cart_total').html(json['total']);
In common.js you will need to do this for addToCart, addToCompare and addToWishList depending on when you want to not show this notification...