Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Can I remove the green bar at top that appears when I add to cart?

Can I remove the green bar at top that appears when I add to cart?

Locked

Started by rstevenson on 13 Dec 2006, 7:23 PM · Views: 1,992

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
13 Dec 2006, 7:23 PM
#1
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Post #1 by rstevenson

Hi,

When I add something to the shopping cart, a lime green band appears at the top of the page, pushing everything else down. It has a lightbulb at the left end and text that says "Successfully added Product to the cart ...".

I can't find in admin a setting for turning this off. Can someone point me in the right direction please?

TIA

Rob

Breakfast: the most important donut of the day.

13 Dec 2006, 7:47 PM
#2
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Post #2 by pixxi

I don't think there's a switch to remove it in admin.

You can comment the code out in includes/classes/shopping_cart.php around line 1731:

// display message if all is good and not on shopping_cart page
  // if (DISPLAY_CART == 'false' && $_GET['main_page'] != FILENAME_SHOPPING_CART) {
      //  $messageStack->add_session('header', SUCCESS_ADDED_TO_CART_PRODUCTS, 'success');
   // }
13 Dec 2006, 7:55 PM
#3
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Post #3 by rstevenson

That sounds like it would do the trick, but unfortunately it didn't work. I commented out that part of the code and uploaded the file to my server. But the green thingy still appears whenever I add to cart.

Breakfast: the most important donut of the day.

13 Dec 2006, 8:02 PM
#4
pixxi avatar

pixxi

Totally Zenned

Join Date:
Jan 2004
Location:
UK
Posts:
1,065
Plugin Contributions:
1

Post #4 by pixxi

Ah ... that's because there's 4 more of the little blighters in there ... :smile:

Sorry, trying to do several things at once here - take a look around about lines:

1541
1647
1691
1732
1820

13 Dec 2006, 8:11 PM
#5
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Post #5 by rstevenson

Got it! We killed the little booger.

Thanks for taking the time to help Pixxi.

And now a note to the developers: Whenever you make something that is keen, neat or even helpful, be sure to include a switch to turn it off for those who don't agree. ;-)

Thanks

Rob

Breakfast: the most important donut of the day.

15 Dec 2006, 5:38 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #6 by ajeh

Just setting the define to '' (that is two single quotes) makes it go away ...

NOTE: that was just added recently as so many customers sat there clicking away as nothing "appeared" to happen ...

Then they go to their shopping_cart (for those who have go to cart on add turned off) and they have just order 27 vs 1 product ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

15 Dec 2006, 10:07 PM
#7
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Post #7 by rstevenson

Hi Linda,
Yes, I can understand the need for such a notice, but having it appear in a lime-green bar at the top of the page, pushing everything else down, is just a bit too intrusive for my taste. Besides, I have a mini shopping cart status thing at the top of my left column -- an add-in I think. I HOPE customers will notice that.

Rob

Breakfast: the most important donut of the day.

25 Feb 2007, 10:47 PM
#8
uglysign avatar

uglysign

New Zenner

Join Date:
Feb 2007
Posts:
6
Plugin Contributions:
0

Post #8 by uglysign

Ajeh:

Just setting the define to '' (that is two single quotes) makes it go away ...

NOTE: that was just added recently as so many customers sat there clicking away as nothing "appeared" to happen ...

Then they go to their shopping_cart (for those who have go to cart on add turned off) and they have just order 27 vs 1 product ...

Thanx for that! Being im a bit dense on this matter, i had to figure where the 'define to' was. But i figured it was a language file.

languages > english.php

figured I would attach a visual pic of what you're talking about.