PDA

View Full Version : Email Formatting / Alignment niggle


BSO
07-Aug-2003, 09:28 PM
File attached is a copy of this post.
Might get a better idea of what I'm talking about as the forum munges posts and the layout I'm trying to explain is altered here.

Hi all,
Got more of niggle than a problem.

The emails sent via catalog are not aligned as prefferred.
Please see this example:

__Order Status__________________________________________________

Order Number: SB26RP10000079
Shipping Method: Second Class Recorded
Payment Status: Pending
Date Received: 2003/08/07 18:47 GMT
Payment Method: CHEQUE/POSTAL ORDER/Cash In advance

__Lines Ordered_________________________________________________

O2 Pay As You Go 'Talkalot' Sim Pack (O2SIMPACK)
No. Not Yet Shipped: 1

Unit Price: £4.99 Total Cost £4.99
________________________________________________________________



__Totals________________________________________________________

Subtotal: £4.99
Shipping & Handling: £0.98
Total Tax: £0.17
Total: £6.14
________________________________________________________________

You can see that the order number, shipping method etc & the total prices are not aligned very nicely.

Background: I have had to install Normans patch to allow emails to me sent via sendmail as they would not work otherwise.
I have also commented out a line in the patched actinic.pm so that the email is not one continuous line.
# $sMessageText =~ s/\n/\r\n/g; # all LF -> CRLF

The patch and the commented out line work a treat, my question is finally:
Is there a way to align the items mentioned like so?

...
Order Number: SB26RP10000079
Shipping Method: Second Class Recorded
Payment Status: Pending
Date Received: 2003/08/07 18:47 GMT
Payment Method: CHEQUE/POSTAL ORDER/Cash In advance
...
Subtotal: £4.99
Shipping & Handling: £0.98
Total Tax: £0.17
Total: £6.14
...

Could the solution have something to do with the items like <Actinic:COMPANY_CONTACT_ADDRESS1_SEP/> with the templates?
E.G If I found the seperator for the Order number and prefixed it with 2 &nbsp; to shift it along two spaces.

Apologies if this has already been covered but I didn't find it.
Any help appreciated

Simon

cdicken
11-Aug-2003, 09:29 AM
I have asked the development team about this, but am still awaiting a response.

I'll keep you posted.

BSO
11-Aug-2003, 10:13 AM
Thanks Chris,
To be honest I havent really fiddled around with it as my site is live and dont want to confuse customers with errors etc.
I wanted to hear from someone who knows.

I'll wait for your response if you get one.

Cheers

Simon

cdicken
11-Aug-2003, 12:55 PM
If you could let me know what version of the software you are using (6.1.2? 6.1.3?) and email a copy of your Act_CustomerEmail.txt and your OrderScript.pl files to communityadmin@actinic.co.uk then I can come up with a couple of suggestions for you.

cdicken
13-Aug-2003, 08:50 AM
Simon

Unfortunately, the emails which are generated by the desktop application are not editable, as the cart contents etc. are inserted by the application itself.

I have reported this as a bug.