Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Hybrid View

  1. #1
    Join Date
    May 2007
    Location
    Conway, SC
    Posts
    256
    Plugin Contributions
    0

    Default Add logo to print on Invoice and packing slip

    Hi,

    I just noticed this, I followed the tutorial to print the company logo on invoices and packing slips and appear in the admin. When I go to preview any product prior to saving the product, near the upper left corner of the preview, the UK flag is there and enlarged.

    What happened and how can I get this fixed? I am attaching a screenshot of the issue.

    ScreenHunter_12 May. 08 19.38.jpg

  2. #2
    Join Date
    May 2007
    Location
    Conway, SC
    Posts
    256
    Plugin Contributions
    0

    Default Re: Add logo to print on Invoice and packing slip

    Also on some of the pages in admin, I have a large gap appearing, can someone tell me what is happening?

    ScreenHunter_13 May. 08 19.57.jpg

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

    Default Re: Add logo to print on Invoice and packing slip

    What image prints on an invoice??

    FTP the image located at //your_site/your_admin/images/logo.gif

    View this FTP'd image - what is it??
    Zen-Venom Get Bitten

  4. #4
    Join Date
    May 2007
    Location
    Conway, SC
    Posts
    256
    Plugin Contributions
    0

    Default Re: Add logo to print on Invoice and packing slip

    Quote Originally Posted by kobra View Post
    What image prints on an invoice??

    FTP the image located at //your_site/your_admin/images/logo.gif

    View this FTP'd image - what is it??

    logo2.jpg This is first site I am working on.

    Name:  smDeeLogo.jpg
Views: 665
Size:  4.5 KB This is from second site.

    The code snippets for both are:

    1st site: Cleverlycraftedcard
    english.php
    define('HEADER_ALT_TEXT', 'Admin Powered by Zen Cart :: The Art of E-Commerce');
    define('HEADER_LOGO_WIDTH', '273px');
    define('HEADER_LOGO_HEIGHT', '158px');
    define('HEADER_LOGO_IMAGE', 'logo2.jpg');

    stylesheet.css
    .pageHeading img {width:273px;
    height:158px}

    @media print{
    .pageheading img {width:3.79in;
    height:2.19in}


    header.php
    zen_image(DIR_WS_IMAGES . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT, HEADER_LOGO_WIDTH, HEADER_LOGO_HEIGHT)



    2nd Site DeelitefulDecor
    English.php :
    // added defines for header alt and text
    define('HEADER_ALT_TEXT', 'Admin Powered by Zen Cart :: The Art of E-Commerce');
    define('HEADER_LOGO_WIDTH', '200px');
    define('HEADER_LOGO_HEIGHT', '70px');
    define('HEADER_LOGO_IMAGE', 'smDeeLogo.jpg');

    admin/includes/stylesheet.css
    .pageHeading img{width:198px;
    height:112px}

    @media print {
    .pageheading img {width:2.75in;
    height:1.55in}

    header.php
    zen_image(DIR_WS_IMAGES . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT, HEADER_LOGO_WIDTH, HEADER_LOGO_HEIGHT)

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

    Default Re: Add logo to print on Invoice and packing slip

    Change to a gif and name it "logo.gif"and upload replacing the one that exists at

    at //your_site/your_admin/images/logo.gif

    The english.php snippet you posted is only for the frontend NOT the admin
    Zen-Venom Get Bitten

  6. #6
    Join Date
    May 2007
    Location
    Conway, SC
    Posts
    256
    Plugin Contributions
    0

    Default Re: Add logo to print on Invoice and packing slip

    Quote Originally Posted by kobra View Post
    Change to a gif and name it "logo.gif"and upload replacing the one that exists at

    at //your_site/your_admin/images/logo.gif

    The english.php snippet you posted is only for the frontend NOT the admin
    Thank you kobra, will try doing that. if I want to change the name of the logo to something else on the admin side, how would it be done or is it frowned on?

  7. #7
    Join Date
    May 2007
    Location
    Conway, SC
    Posts
    256
    Plugin Contributions
    0

    Default Re: Add logo to print on Invoice and packing slip

    Quote Originally Posted by kobra View Post
    Change to a gif and name it "logo.gif"and upload replacing the one that exists at

    at //your_site/your_admin/images/logo.gif

    The english.php snippet you posted is only for the frontend NOT the admin

    Hi, did that, when I preview products in the admin I still get the UK flag in the upper left, and multiple options have a large gap between the admin menu at the top and the page title a little further down. Any other ideas?

  8. #8
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: Add logo to print on Invoice and packing slip

    Are you trying to describe 2 different issues?

    1. Printing the logo on invoices
    2. Flag that appears in admin on product pages


    Printing the logo on invoices: see kobra's instructions
    Flag in admin (that is only cosmetic that I can tell) /includes/languages/english/images/icon.gif
    Find a GIF icon of whatever flag you want to appear, name it icon.gif and upload to that folder

    Changing the filename of the actual logo and editing the files will only be troublesome when you start a future upgrade. At that time, you might realize that it was not worth the hassle of doing those namechanges.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  9. #9
    Join Date
    Aug 2009
    Location
    North Idaho, USA
    Posts
    2,008
    Plugin Contributions
    1

    Default Re: Add logo to print on Invoice and packing slip

    Quote Originally Posted by RixStix View Post
    1. Flag that appears in admin on product pages


    Flag in admin /includes/languages/english/images/icon.gif

    Find a GIF icon of whatever flag you want to use (google can be your friend), name it icon.gif and replace the stock flag with your new flag.

    Changing the filename of the actual logo and editing the files will only be troublesome when you start a future upgrade. At that time, you might realize that it was not worth the hassle of doing those namechanges.
    Are you still having problems with the flag icons in admin? Did providing the location of the flag icon not help? Replacing a file is a pretty basic operation.
    Rick
    RixStix (dot) com
    aka: ChainWeavers (dot) com

  10. #10
    Join Date
    May 2007
    Location
    Conway, SC
    Posts
    256
    Plugin Contributions
    0

    Default Re: Add logo to print on Invoice and packing slip

    Quote Originally Posted by RixStix View Post
    Are you still having problems with the flag icons in admin? Did providing the location of the flag icon not help? Replacing a file is a pretty basic operation.
    The flag icons in admin are fine. My issue is when adding or editing a product and you click preview to continue saving the changes the following appears, it looks like the UK flag me exploded

    ScreenHunter_12 May. 08 19.38.jpg

    Hope that clarifies my issue with the flag.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. logo on invoice/packing slip
    By raf696 in forum General Questions
    Replies: 4
    Last Post: 10 Aug 2012, 05:17 AM
  2. Print button for Invoice and Packing Slip?
    By Crunch in forum Managing Customers and Orders
    Replies: 4
    Last Post: 9 Mar 2010, 08:49 AM
  3. Add email address to header of Packing slip and invoice
    By kiddykool1 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 6 Apr 2008, 09:57 PM
  4. Add footer to packing slip and invoice print out
    By Kitty in forum Managing Customers and Orders
    Replies: 1
    Last Post: 25 Nov 2007, 10:47 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