View Single Post
  #79  
Old 06-07-2004, 06:30 AM
 
DanUK DanUK is offline
 

X-Adept
  
Join Date: Dec 2003
Location: UK
Posts: 800
 

Default

This hack is great except I think I've buggered it up a bit . I downloaded the 3.5.4 version of this hack, but before uploading the modified order_invoice.tpl and the order_data.tpl, I followed preston's fix for sending plain text email using copies of the existing templates (as I want to keep that). The Order invoice now comes out fine on screen as I would expect, yet I'm still getting html formatted email. HTML email is turned off FYI!

All I did was:

Quote:
Make a copy of the original /skin1/mail/order_invoice.tpl and the /skin1/mail/order_data.tpl. Rename them to order_invoice_email.tpl and order_data_email.tpl.

In the order_invoice_email.tpl make this change the line near to bottom of the file.
Quote:
Change the line
{include file="mail/order_data.tpl"}

to

{include file="mail/order_data_email.tpl"}


Next edit the skin1/mail/order_notification.tpl as follows.

Quote:
Change the line
{include file="mail/order_invoice.tpl"}

to

{include file="mail/order_invoice_email.tpl"}


Place all these files in the skin1/mail folder and you should be good to go.

..before uploading the two replacement 3.5.4 invoice mod files.

Any ideas where I might have botched up?

Thanks

Dan
__________________
4.4.2

and

4.6.1
Reply With Quote