X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How do I change the formatting of the email invoice? (https://forum.x-cart.com/showthread.php?t=59296)

crs123 05-11-2011 11:33 AM

How do I change the formatting of the email invoice?
 
Hello,

How do I change the format of the email invoice (not the invoice customers see when they checkout)? I see lots of language variables in the /skin/common_files/mail/order_invoice.tpl file such as:

{$lng.lbl_order_id|mail_truncate}#{$order.orderid}
{$lng.lbl_order_date|mail_truncate}{$order.date|da te_format:$config.Appearance.datetime_format}
{$lng.lbl_order_status|mail_truncate}{include file="main/order_status.tpl" status=$order.status mode="static"}

but I don't see any way to change the formatting of the output. As you can see from the picture below, our company address and city are on the same line, and the zip code and state are on another line. I want to fix this so that the address is on one line, and the city state and zip are on the next line. Also, I want the state to read FL, not Florida. (see pic below)

http://www.cashregisterstore.com/images/invoice_issue.JPG

I would appreciate any help you can offer. Thank you. :grin:

cflsystems 05-11-2011 03:15 PM

Re: How do I change the formatting of the email invoice?
 
Please list your cart version in your signature.
You need to edit mail/html/order_invoice.tpl

crs123 05-12-2011 08:23 AM

Re: How do I change the formatting of the email invoice?
 
Thank you... I found the file, and I was able to modify it to get the layout I wanted. Just for everyone's reference, the full path to the email invoice template file is xcart/skin/common_files/mail/html/order_invoice.tpl

One more question... At the footer of the invoice email, it shows:
Thank you for using our shopping system
...followed by, (our company name, address and telephone).

I can't find this text referenced in the template as a language variable or hard coded in the template file. Anyone know where this is coming from? Thanks.


cflsystems 05-12-2011 09:17 AM

Re: How do I change the formatting of the email invoice?
 
It is referenced in the same file as {include file=.....}, that would be the signature template


All times are GMT -8. The time now is 08:41 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.