Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

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

    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

  2. #2
    Join Date
    Jan 2004
    Location
    UK
    Posts
    1,230
    Plugin Contributions
    0

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

    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:

    PHP Code:
    // 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');
       // } 

  3. #3
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

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

    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.

  4. #4
    Join Date
    Jan 2004
    Location
    UK
    Posts
    1,230
    Plugin Contributions
    0

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

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

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

    1541
    1647
    1691
    1732
    1820

  5. #5
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

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

    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

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

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

    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!

 

 

Similar Threads

  1. Can I remove the top Navigation Bar completely?
    By ysmith877 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 3 Sep 2010, 07:45 PM
  2. change the 'Sort By' drop down menu that appears at the top of the product list page?
    By autoace in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 26 Sep 2009, 03:41 AM
  3. random word 'add' appears on the top of all my page
    By Best Price Accessori in forum General Questions
    Replies: 1
    Last Post: 19 Apr 2009, 10:09 PM
  4. The IE appears blank when I click the button of add to cart
    By newuser123 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Apr 2008, 07:03 PM
  5. Header & Footer Have Shifted & There's A Double Green Bar At The Top
    By yonside in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 24 Jan 2008, 08:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg