View Single Post
  #1  
Old 10-06-2009, 12:01 PM
 
tamalita tamalita is offline
 

Advanced Member
  
Join Date: Mar 2005
Location: Idaho
Posts: 64
 

Default 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.
__________________
X-Cart Gold v4.5.5
X-Special Offers
Linux/PHP 5.3.13/MySQL 5.1.66
Reply With Quote