Zen Cart Add Logo To Invoices From Admin

In this Zen Cart tutorial, you will learn how to add your logo to invoices, packing slips, etc. quickly and easily from your zen cart admin. The image we will use for this purpose is found in the directory admin/images/logo.gif. This is the version of your logo that is generally used in your Admin pages, and in admin output. If your logo is named something different, you have two options. You can either rename your logo to logo.gif, which is recommended, as it is less work, and there is less room for mistakes. In this case, simply upload your version of the logo.gif image to the correct folder on your server, and it will overwrite the old one.

The other option is to delete the logo.gif image, and replace it with your image. If you want to do this, you will have to edit this block of code from the admin/includes/languages/english.php file:


// 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', '200');
define('HEADER_LOGO_HEIGHT', '70');
define('HEADER_LOGO_IMAGE', 'YOUR_LOGO_NAME.EXT');

Replace the logo image name with your image name, then save your work and upload the file to your server to put the changes into effect.

It is also good to note that If you have changed the size of your logo, the invoice and packing slip functions native to zen cart will not automatically take this into account. To remedy this issue, you will need to edit two files, admin/invoice.php and admin/packingslip.php. Both of these files contain this line of code:


 

Find it in both files, and change it to this:


 

Save your changes, and upload the file to your server.

If you need help with your zen cart web site please contact us for a quote.

zen cart plus picaflor azul equals success