Customising email invoice in 4.6.5
Hello
I'm trying to customise the emailed invoice to include a text box at the bottom but I'm not sure which tpl file it uses ? The email has an extra box at the bottom which says "Thankyou for using our shopping system" along with some company detail so I guess this is the best file to modify. Also for something a little more complex I'd like to add a file to the email containing bank details but only for orders where they have chosen "Wire Transfer" as the payment method-is this possible ? |
Re: Customising email invoice in 4.6.5
Paul,
Here is the exact path of the templates which used for invoice. skin/YOUR SKIN FOLDER/mail/html/order_invoice.tpl skin/YOUR SKIN FOLDER/mail/html/order_data_invoice.tpl |
Re: Customising email invoice in 4.6.5
For your bank details, you could use:
{if $order.payment_method eq "Wire Transfer"} bank details here {/if} (providing "Wire Transfer" is the exact name as defined in your payment methods) |
Re: Customising email invoice in 4.6.5
Thanks I'll have a play
Paul-which template do I drop that code into ? |
Re: Customising email invoice in 4.6.5
I would put it at the bottom of your:
mail/html/order_invoice.tpl which is probably in common_files, unless you have that in a custom skin folder. |
Re: Customising email invoice in 4.6.5
I'll give it a go and let you know how it works out. Thanks
I'm trying to wean customers off using credit/debit cards so I can get rid of the expensive facility |
Re: Customising email invoice in 4.6.5
Sometimes it's a price worth paying though. If customers have to pay a fee to do a wire transfer, they may think twice before placing an order.
|
Re: Customising email invoice in 4.6.5
Quote:
especially since they started charging for non PCI compliance which I need to look into |
Re: Customising email invoice in 4.6.5
It works perfectly !
I ended up putting it in the signature.tpl file and adding bank details to the languages so I can use the WYSIWYG editor on the text {if $order.payment_method eq "Bank Transfer"} {$lng.eml_bankdetails} {/if} |
All times are GMT -8. The time now is 07:34 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.