Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Customising email invoice in 4.6.5

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 11-12-2014, 01:35 AM
 
Paul H . Paul H . is offline
 

Advanced Member
  
Join Date: Mar 2012
Posts: 78
 

Default 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 ?
__________________
Gold 4.7.9-Ideal Responsive
Reply With Quote
  #2  
Old 11-12-2014, 02:23 AM
  iClerisy's Avatar 
iClerisy iClerisy is offline
 

Senior Member
  
Join Date: Mar 2010
Posts: 103
 

Default 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
__________________
Dhvanit Upadhyay
Professional X-cart Service | Former Partner X-cart.es
Skype : dhvanit.upadhyay
https://www.linkedin.com/in/dhvanit/
Reply With Quote

The following 2 users thank iClerisy for this useful post:
Paul H . (11-12-2014), qualiteam (11-12-2014)
  #3  
Old 11-12-2014, 02:54 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,060
 

Default 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)
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote

The following user thanks pauldodman for this useful post:
Paul H . (11-12-2014)
  #4  
Old 11-12-2014, 04:07 AM
 
Paul H . Paul H . is offline
 

Advanced Member
  
Join Date: Mar 2012
Posts: 78
 

Default Re: Customising email invoice in 4.6.5

Thanks I'll have a play
Paul-which template do I drop that code into ?
__________________
Gold 4.7.9-Ideal Responsive
Reply With Quote
  #5  
Old 11-12-2014, 04:17 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,060
 

Default 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.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote

The following user thanks pauldodman for this useful post:
Paul H . (11-12-2014)
  #6  
Old 11-12-2014, 04:52 AM
 
Paul H . Paul H . is offline
 

Advanced Member
  
Join Date: Mar 2012
Posts: 78
 

Default 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
__________________
Gold 4.7.9-Ideal Responsive
Reply With Quote
  #7  
Old 11-12-2014, 05:15 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,060
 

Default 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.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #8  
Old 11-12-2014, 06:02 AM
 
Paul H . Paul H . is offline
 

Advanced Member
  
Join Date: Mar 2012
Posts: 78
 

Default Re: Customising email invoice in 4.6.5

Quote:
Originally Posted by pauldodman
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.
I'll be trying a 1% discount or bank transfer-initially. I'm getting more and more payments through Paypal so the standing charges for the CC facility are adding up
especially since they started charging for non PCI compliance which I need to look into
__________________
Gold 4.7.9-Ideal Responsive
Reply With Quote
  #9  
Old 11-12-2014, 11:09 AM
 
Paul H . Paul H . is offline
 

Advanced Member
  
Join Date: Mar 2012
Posts: 78
 

Default 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}
__________________
Gold 4.7.9-Ideal Responsive
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:39 AM.

   

 
X-Cart forums © 2001-2020