Quote:
Originally Posted by preston
Quote:
Anybody know how to to get it to call a different set of templates when i click the 'print invoice' button so i can still keep my emails as plain text?"
|
This works with 3.5.4 and should work with 3.5.5
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.
|
I'm assuming if i keep the files as is, the store will display TEXT invoices, and if i add the new files and rename them to file_email...the emailed invoice would be html based.??
just doing the opposite of what you posted above.