Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / Light bulb icon on purchase approval

Light bulb icon on purchase approval

Locked

Views: 2,697

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
22 Jan 2009, 9:35 PM
#1
kehrli avatar

kehrli

Zen Follower

Join Date:
Aug 2007
Location:
Cannon Beach, OR
Posts:
180
Plugin Contributions:
0

Light bulb icon on purchase approval

Hi,

I upgraded from 1.3.6 to 1.3.8a recently.

There's one little annoying feature I'd like to turn off:

When the customer's credit card is approved, an acknowledgment is inserted at the top of the page with a little light bulb icon that says "APPROVAL :: 031668". The text is black on a green background. This notice pushes the rest of the page down about 3/4", and looks unprofessional. The main page gives plenty of acknowledgment already.

Anyone know how to make this thing go away?

Thanks.

23 Jan 2009, 9:25 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Light bulb icon on purchase approval

I've not heard of this feature before. Is it a standard message on ZC 1.3.8a, or is it something associated with a payment module?

What payment modules do you have installed? What payment gateway do you use?

In any event, it probably has its own Style ID, ... if so can be turned off using the display:none declaration.

Use firefox browser with Web Developer add-on to help you determine its style - or look in the page source code when it appears on screen in the browser.

23 Jan 2009, 5:59 PM
#3
kehrli avatar

kehrli

Zen Follower

Join Date:
Aug 2007
Location:
Cannon Beach, OR
Posts:
180
Plugin Contributions:
0

Re: Light bulb icon on purchase approval

Hi Schoolboy,

Thank you.

This must be ZenCart, because it does the same thing when using the "email a friend" feature. I've also seen it when doing certain activities in the admin panel, but I don't care about it there.

Below is a screen shot of what it looks like when using 'email a friend'.

Here's a page source fragment that shows the class name:

</head>
<body id="productinfoBody">
<div id="mainWrapper">

  <div class="messageStackSuccess larger"><img src="includes/templates/template_default/images/icons/success.gif" alt="Success" title=" Success " width="20" height="20" />  Your email about <strong>Dual Wide Band EFIE - Basic</strong> has been successfully sent to <strong>joe</strong>.</div>
<!--bof-header logo and navigation display-->

<div id="headerWrapper">
<!--bof-branding display-->
<div id="logoWrapper">

The class is messageStackSuccess (I don't know what the "larger" means). But I don't know how/where to disable it. I have looked at message_stack.php that creates these, but I'm not sure what to do with that code.

23 Jan 2009, 10:42 PM
#4
kehrli avatar

kehrli

Zen Follower

Join Date:
Aug 2007
Location:
Cannon Beach, OR
Posts:
180
Plugin Contributions:
0

Re: Light bulb icon on purchase approval

Oops, forgot to add the screenshot:

19 Feb 2009, 12:14 AM
#5
kehrli avatar

kehrli

Zen Follower

Join Date:
Aug 2007
Location:
Cannon Beach, OR
Posts:
180
Plugin Contributions:
0

Re: Light bulb icon on purchase approval

Does anyone know how to make these messageStackSuccess notifications go away? Specifically, the little light bulb icon and text at the top of the page. Please see the pic in the previous post.

19 Feb 2009, 6:40 AM
#6
bunyip avatar

bunyip

Totally Zenned

Join Date:
Sep 2004
Location:
Western Massachusetts
Posts:
2,361
Plugin Contributions:
1

Re: Light bulb icon on purchase approval

You can remove that message that results from a successful tell-a-friend by commenting out this line in includes/modules/pages/tell_a_friend/header_php.php:

    $messageStack->add_session('header', sprintf(TEXT_EMAIL_SUCCESSFUL_SENT, $product_info->fields['products_name'], zen_output_string_protected($to_name)), 'success');

As for what you're getting after successful payment, you'd need to look for a similar line of code in the payment module file that you're using - I don't think it happens with any of the standard modules that come with the cart.

19 Feb 2009, 5:02 PM
#7
kehrli avatar

kehrli

Zen Follower

Join Date:
Aug 2007
Location:
Cannon Beach, OR
Posts:
180
Plugin Contributions:
0

Re: Light bulb icon on purchase approval

Thank you very much. That handled it for me.

Yes, I use a payment module for Virtual Merchant for credit card processing and it was in there. I was easily able to fix it.

19 Feb 2009, 5:12 PM
#8
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Light bulb icon on purchase approval

I can understand not liking the style of the confirmation with the lightbulb, but I wonder if removing the confirmation message entirely will cause any confusion for customers about whether their card has been approved.

You can disable the display of the lightbulb by adding this to your stylesheet.messageStackSuccess img {display: none;}and you can add styling properties like this .messageStackSuccess { font-size: 0.8em; color: #999999; }If you really want to eliminate all success confirmations you can use ```
.messageStackSuccess {display: none;}

19 Feb 2009, 6:15 PM
#9
kehrli avatar

kehrli

Zen Follower

Join Date:
Aug 2007
Location:
Cannon Beach, OR
Posts:
180
Plugin Contributions:
0

Re: Light bulb icon on purchase approval

Actually I don't like any of that display. I wanted to get ride of both the light bulb and the text. It moves the whole page down and its design has no relationship to the design of the rest of the page. What would be better would be a little dismissible message box that lays on top of the page.

However the page that displays on checkout success is quite unambiguous and lets the customer know that his order was successfully processed. And I like that because it's all done in my store's design and template.

As a note, I left the messageStack display in place for errors. I don't think the error messages would show properly otherwise.