Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Can I remove the line-breaks in order confirmation email?

Can I remove the line-breaks in order confirmation email?

Views: 909

Results 1 to 3 of 3
3 Dec 2011, 6:20 PM
#1
idc1 avatar

idc1

Zen Follower

Join Date:
Jul 2011
Posts:
139
Plugin Contributions:
0

Can I remove the line-breaks in order confirmation email?

I am currently trying to adjust the email layout of the products section in include/class/order.php

Currently my email shows this portion as:
Products

1 x (632845) ALUMINUM FRONT BUMPER
Fits Eton 50-90R 2 Stk ATVs = $59.99

In the products description this item has "...bumper<br>Fits..." This is important for the layout on the web but the <br> makes the confirmation email in text format look clutter. I've tried several workarounds but I guess I'm not doing something right. I tried to use the strip_tags but that didn't seem to work for me. Also am I correct in thinking that making this a table is not doable for text emails? Ultimately I would like something more like:

Products

1 x (632845) ALUMINUM FRONT BUMPER Fits Eton 50-90R 2 Stk ATVs = $59.99

Thanks for the help

3 Dec 2011, 7:31 PM
#2
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: Can I remove the line-breaks in order confirmation email?

The eMail layout is handled by the files in your /email folder.

5 Dec 2011, 2:19 AM
#3
idc1 avatar

idc1

Zen Follower

Join Date:
Jul 2011
Posts:
139
Plugin Contributions:
0

Re: Can I remove the line-breaks in order confirmation email?

RescoCCC:

The eMail layout is handled by the files in your /email folder.

This is true for HTML only....correct?

I am trying to adjust the TEXT format which is handled in includes/classes/order.php

Still needing help...

Thanks