Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Posts
    404
    Plugin Contributions
    0

    Default 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!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default 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. #3
    Join Date
    Oct 2008
    Posts
    404
    Plugin Contributions
    0

    Default 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 but if someone knows how to do it and can save me some time, I would appreciate the help

  4. #4
    Join Date
    Oct 2008
    Posts
    404
    Plugin Contributions
    0

    Default Re: Getting rid of zen logo on invoices

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

    HTML Code:
    <!-- 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'???

  5. #5
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Getting rid of zen logo on invoices

    Quote Originally Posted by mw4kids View Post
    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.

  6. #6
    Join Date
    Oct 2008
    Posts
    404
    Plugin Contributions
    0

    Default Re: Getting rid of zen logo on invoices

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

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

 

 

Similar Threads

  1. getting rid of the Attribute logo
    By hokyk in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 31 Dec 2010, 05:31 PM
  2. Getting rid of Zen cart copyright etc
    By pb4 in forum General Questions
    Replies: 5
    Last Post: 21 Dec 2007, 07:37 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