Forums / Managing Customers and Orders / electronic vs. printed invoices & packing slips

electronic vs. printed invoices & packing slips

Locked

Started by scriptjunkie on 21 Aug 2008, 7:44 AM · Views: 1,547

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
21 Aug 2008, 7:44 AM
#1
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

electronic vs. printed invoices & packing slips

Can customers see online versions of their invoices and packing slips?

I've read this tutorial re customized logos on above documents:

https://www.zen-cart.com/tutorials/index.php?article=256

If customers can not see an electronic version, then this tutorial will be all I need.

However, if customers can see an electronic version, then here's my question:

How do I code for two different logos? One is for print, the other is for electronic viewing.

Rationale: a full color logo takes up entirely too much ink. I'd like to create a printable version, but don't know how to code the file for this so that the electronic version is called for online viewing, and the 'for print' version is called for printing.

Thanks in advance :smile:

*Go that extra mile, you never know what's at the end of the road

* Empowerment Sanctuary

21 Aug 2008, 2:12 PM
#2
kobra avatar

kobra

Black Belt

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

Re: electronic vs. printed invoices & packing slips

Try finding all instances of HEADER_LOGO mostly for the admin side and add a HEADER_LOGO2 in the appropriate places...

Then call one for online and the other for printing

Zen-Venom Get Bitten

22 Aug 2008, 4:26 AM
#3
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: electronic vs. printed invoices & packing slips

Thanks Kobra!

So to add a HEADER_LOGO2, I assume all I'd have to do is copy/paste what's there for HEADER_LOGO and modify it appropriately.

But...how do I call for one or the other? I'll go poke around in the files and see how it's being called for currently. It may be a simple matter of copy/paste/modify.

If I get stuck, I'll come back and post a request for additional assistance.

Thanks much! :smile:

*Go that extra mile, you never know what's at the end of the road

* Empowerment Sanctuary

22 Aug 2008, 5:18 AM
#4
kobra avatar

kobra

Black Belt

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

Re: electronic vs. printed invoices & packing slips

So to add a HEADER_LOGO2, I assume all I'd have to do is copy/paste what's there for HEADER_LOGO and modify it appropriately.
Use the developers tool kit to find ALL instances and then determiine which need to be cloned, which need to added to etc

Zen-Venom Get Bitten

22 Aug 2008, 11:35 AM
#5
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: electronic vs. printed invoices & packing slips

Will do! Thanks much Kobra! :smile:

*Go that extra mile, you never know what's at the end of the road

* Empowerment Sanctuary