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)
-   -   Email notification Templates (https://forum.x-cart.com/showthread.php?t=50062)

tamalita 10-06-2009 12:01 PM

Email notification Templates
 
I am specifically interested in the email notification templates for orders (queued, processed, complete, etc)

The beginning portion of each notification has the following:
Order id:
Order date:
Order status:
Customer info:

In the plain text version of these notifications, the order id and order status are spaced out to the right; however, the order status is directly beneath the 'heading' Order status. The customer info begins below that.

For example:
Order id:..........#26
Oder date:.......4-09-2009 02:02:44 PM
Order status:
Processed

My client would like to have the order status displayed to the right beneath the order date like this:
Order id:..........#26
Oder date:.......4-09-2009 02:02:44 PM
Order status:...Processed

The dots/periods represent spaces and everything should be lined up on the right side. It is, but not in this exact example.
I believe the coding for this is in skin1/mail/order_invoice.tpl --> however, I do not see any line breaks in this code, in the specific are that I am interested in.

I also see some coding at the top of this template --- and I'm wondering if this can be used to define how much space is between the left and right 'columns'?

Code:

{assign var="max_truncate" value=30}{math assign="max_space" equation="x+5" x=$max_truncate}{assign var="max_space" value="%-"|cat:$max_space|cat:"s"}

the code that I see in regards to this area, and the order status is:

Code:

{$lng.lbl_order_status|truncate:$max_truncate:"...":true|cat:":"|string_format:$max_space}{include file="main/order_status.tpl" status=$order.status mode="static"}

but I do not see how to delete any line breaks in this code.

tamalita 10-07-2009 09:25 AM

Re: Email notification Templates
 
anyone?


All times are GMT -8. The time now is 01:00 PM.

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