Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

invisible newlines in 'Order Process' mail


Dager

Recommended Posts

Hello,

I'm changing my oscommerce constantly, but I can't handle with this one.

 

In 'Order Process' e-mail, 'Delivery Address' section 3 out of 4 e-mails it looks like it should:

company

name name

street number

city, country

 

BUT, around 1 out of 4 comes completely without the newlines:

company name name street number city, country

 

One clue - when i forward that mail, newlines appear where they should while editing message. Is it an encoding issue?

 

Any help would be appreciated.

Link to comment
Share on other sites

in checkout_process look for:

 

tep_address_label($customer_id, $sendto, 0, '', '<br />')

and

tep_address_label($customer_id, $billto, 0, '', '<br />')

 

I'll bet dollars to donuts that you have dropped the br in the process of your modifications.

Oscommerce site:

 

 

OSC to CSS, http://addons.oscommerce.com/info/7263 -Mail Manager, http://addons.oscommerce.com/info/8120

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...