Html in e-mail with order details

Guido

Avatar: Guido

2013-08-09 14:08

Hi,

How can I add html to the e-mail with order details send to customer? Currently it's plain text unfortunately.

I've found some old posts about this issue, but no instruction for current version (6).

Guido

» Quick.Cart v6.x

Guido

Avatar: Guido

2013-08-09 16:59

I already found out I can add this in text for next line:

\n



Message looks much better using this.

Guido

boboo

Avatar: boboo

2013-08-11 08:58

There is a funcion "sendEmail" in the core/common.php
In the line with the instruction: @mail(...
you'll find the: Content-type: text/plain
Change to: text/html
And then make some experiments :-) , learning by doing is the best way.

boboo

Guido

Avatar: Guido

2013-08-31 10:29

Thanks boboo!

On my own server simply adding this in translation worked:

\n



But on other server it's not working.
So I tried your solution + I changed this:

\n


into:

<br>


in file order.php in line that starts with: $aSend['sMailContent']

Back to top
about us | contact