Can anyone help with this? Please.
Can anyone help with this? Please.
A couple ways to do it.
I recommend option 1 or 3, since you indicated that you don't use the Zen Cart admin area for order-processing:
1. When printing, don't just click the "print" icon in Outlook ... press Ctrl-P and tell it just to print pages 1 to 1, instead of 1 to 2.
That's the fastest way, but must be done one-by-one.
2. You could edit the /admin/invoice.php in order to adjust the invoice-printing layout accessible via the Admin. You could also adjust /admin/packingslip.php similarly. This would require that you actually use the Zen Cart admin area for printing and order-processing.
3. If you only want to skip the office-use-only section, and you're using HTML-formatted emails, you could edit your /email/email_template_checkout.html file and add this:just above the line that says this:Code:<style type="text/css" media="print"> .extra-info {display: none; } </style>That should stop the "extra-info" section from printing, assuming your email client honors the "print" stylesheet directives. Outlook is probably fine with that. Other email clients may not.Code:</head>
4. If you want to prevent the extra-info section from even being sent in the HTML emails, you could edit /includes/classes/order.php and change this:to this:Code:$html_msg['EXTRA_INFO'] = $extra_info['HTML'];Code:$html_msg['EXTRA_INFO'] = '';
.
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.
My problem is quite the opposite - I need that extra information (IP address, phone number, etc.) in the confirmation e-mail, but for whatever reason it doesn't work (i.e. $extra_info is null / blank).
It's a clean install ZC 1.3.7.
The files responsible for this functionality are not modified in any way - the e-mail template does contain EXTRA_INFO and /includes/classes/order.php has the code that is supposed to generate it.
If "Email Archiving" is enabled, the extra info IS stored in the database.
E-mail format I'm using is HTML, but it DOES show up in TEXT format.
Any ideas?
Same here !!!
any help would be appreciated.
DanTheMan and Slitter,
I've made anew thread for this specific bug
http://www.zen-cart.com/forum/showthread.php?t=67618
CU
Hubert
.
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.