View Single Post
  #86  
Old 07-02-2004, 04:33 PM
  thundernugs's Avatar 
thundernugs thundernugs is offline
 

Senior Member
  
Join Date: May 2003
Location: Bend, OR
Posts: 117
 

Default

Quote:
I want a customized invoice (with company logo, formatted like a typical invoice) for only one purpose: To include inside the package that is shipped. When I process orders for shipping, I want to click on the "Print Invoice" button, and get a page with a customized invoice I can send to my printer.

this has worked for me to have plain text e-mails and allow admin to print out custom html invoice to put in shipment:

follow directions for invoice mod - but import the custom order invoice tpls to your skin1/mail/html folder

turn html e-mail off in general settings

modify skin1/main/order_invoice_print.tpl

change this:

Code:
{ include file="mail/order_invoice.tpl" order=$orders_data[oi].order customer=$orders_data[oi].customer products=$orders_data[oi].products giftcerts=$orders_data[oi].giftcerts}

to this:

Code:
{ include file="mail/html/order_invoice.tpl" order=$orders_data[oi].order customer=$orders_data[oi].customer products=$orders_data[oi].products giftcerts=$orders_data[oi].giftcerts}

this will look to your mail/html file when it prints orders from admin, but won't affect e-mails

seems to work fine in 3.5.7, not sure about other versions

-mike
__________________
X-Cart Gold 4.0.17 & 4.0.18
Linux Server
Hands-On Hosting
http://www.CoreCases.com - Ipod Cases
http://www.InnovativeOutlet.com - Pet Plants and other cool stuff you need
Reply With Quote