Forums / Managing Customers and Orders / Getting rid of zen logo on invoices

Getting rid of zen logo on invoices

Locked

Views: 1,378

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
2 Feb 2010, 10:42 PM
#1
mw4kids avatar

mw4kids

Zen Follower

Join Date:
Oct 2008
Posts:
403
Plugin Contributions:
0

Getting rid of zen logo on invoices

Hi All,

I read a post that said you can replace the zencart logo that currently appears on customer invoices with your own logo. However, I don't have one at the moment and would like to get rid of it completely.

I thought it was the admin/images/logo.gif file, so I deleted this image file and still shows up on the invoices. Am I forgetting a step?

thanks for your help!

3 Feb 2010, 8:00 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Getting rid of zen logo on invoices

Try clearing your browser cache
Invoices should not be using the image in /emails but you can check

Zen-Venom Get Bitten

3 Feb 2010, 1:57 PM
#3
mw4kids avatar

mw4kids

Zen Follower

Join Date:
Oct 2008
Posts:
403
Plugin Contributions:
0

Re: Getting rid of zen logo on invoices

well the image is gone (thanks for that tip Kobra)

However, I'm left with a text version that says 'Admin powered by Zen Cart...'

I will start my investigation on how to get rid of that :blink: but if someone knows how to do it and can save me some time, I would appreciate the help :wink:

3 Feb 2010, 2:30 PM
#4
mw4kids avatar

mw4kids

Zen Follower

Join Date:
Oct 2008
Posts:
403
Plugin Contributions:
0

Re: Getting rid of zen logo on invoices

ok so I went into the admin/invoice.php file and saw this:

<!-- body_text //-->
<table border="0" width="100%" cellspacing="0" cellpadding="2">
  <tr>
    <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
      <tr>
        <td class="pageHeading"><?php echo nl2br(STORE_NAME_ADDRESS); ?></td>
        <td class="pageHeading" align="right"><?php echo zen_image(DIR_WS_IMAGES . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT); ?></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="2">
      <tr>
        <td colspan="2"><?php echo zen_draw_separator(); ?></td>
      </tr>

Is this what I have to edit????Do I just delete the text where it says 'DIR_WS_IMAGES.HEADER_LOGO_IMAGE,HEADER_ALT_TEXT'???

3 Feb 2010, 2:35 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Getting rid of zen logo on invoices

mw4kids:

I thought it was the admin/images/logo.gif file, so I deleted this image file ...
By deleting the logo file you leave yourself open to the ALT text being displayed in place of the missing image file, on Firefox anyway.
It would be MUCH smarter to just replace the logo.gif file with a blank.gif or some other single-white-pixel image file.

If you just replace the logo you don't want to display, with an empty image (single-pixel white), you can easily add a real logo image later simply by replacing the logo file contents at such time as you have something to put there.

Editing the /admin/invoice.php file means you'll need to edit the file again later, and thus you'll be coming back asking how to put it back to normal again.
Replacing the image as required is much simpler and logical.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Feb 2010, 2:44 PM
#6
mw4kids avatar

mw4kids

Zen Follower

Join Date:
Oct 2008
Posts:
403
Plugin Contributions:
0

Re: Getting rid of zen logo on invoices

wow...I would of never thought of doing something like that :smile:

I will try that first...thanks for the great idea!!

3 Feb 2010, 3:12 PM
#7
mw4kids avatar

mw4kids

Zen Follower

Join Date:
Oct 2008
Posts:
403
Plugin Contributions:
0

Re: Getting rid of zen logo on invoices

just wanted to report back to others having similiar issue...that replacing the image with a blank image worked out perfectly! :clap:

thanks all for your help