Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Code Matters / Bug Reports / [Done 2.0.0] Truncated email notices if product names contain < symbol

[Done 2.0.0] Truncated email notices if product names contain < symbol

Locked

Started by dmcalister on 21 Jul 2007, 12:27 AM · Views: 3,331

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
21 Jul 2007, 12:27 AM
#1
dmcalister avatar

dmcalister

New Zenner

Join Date:
Apr 2007
Posts:
11
Plugin Contributions:
0

Post #1 by dmcalister

We have found that email notices get truncated when they are sending info about products with "<" symbols in their titles.

This problem went un-noticed for a while because the orders and payment were working correctly with the database.

For example, we have an item in out store called, "Alumni Weekend - Children < 12". When this item is purchased, the email going to the customer and to the admins is truncated at the "<". An example is included below:

-----Original Message-----
From: EBA Store [[EMAIL="[email protected]"]mailto:[email protected][/EMAIL]] 
Sent: Thursday, July 19, 2007 5:09 PM
To: [EMAIL="[email protected]"][email protected][/EMAIL]
Subject: [NEW ORDER] Order Confirmation No: 24

Order Confirmation from EBA Store

William Gaines

Thanks for shopping with us today!
The following are the details of your order.
------------------------------------------------------
Order Number: 24
Date Ordered: Thursday 19 July, 2007
Products
------------------------------------------------------

2 x Alumni Weekend - Children 
24 Jul 2007, 2:57 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #2 by ajeh

I cannot break this on either TEXT nor HTML emails ...

What version of Zen Cart are you running?

Have you any other additional information on this?

Have you an URL we can test this on?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

24 Jul 2007, 4:25 AM
#3
dmcalister avatar

dmcalister

New Zenner

Join Date:
Apr 2007
Posts:
11
Plugin Contributions:
0

Post #3 by dmcalister

We are using version 1.3.7 and we have the google checkout module installed. We quite a did a bit of additional customization to the templates, but nothing in particular to the sales modules.

24 Jul 2007, 4:57 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #4 by ajeh

So far, I have not repeated this problem ...

I will keep testing it but nothing is breaking thus far ... :unsure:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

24 Jul 2007, 5:53 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #5 by ajeh

I am thinking this is something wrong with your google add-on ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

25 Jul 2007, 3:45 PM
#6
dmcalister avatar

dmcalister

New Zenner

Join Date:
Apr 2007
Posts:
11
Plugin Contributions:
0

Post #6 by dmcalister

ok, we'll look into that. Thanks!

4 Sep 2008, 10:01 PM
#7
nicknicknick avatar

nicknicknick

New Zenner

Join Date:
Oct 2006
Location:
Toronto, Canada
Posts:
3
Plugin Contributions:
0

Post #7 by nicknicknick

We had this exact same thing happen to an order today. The client wrote <3 in the gift message and the email got truncated at exactly that point. Did you ever figure it out?

5 Sep 2008, 1:37 AM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #8 by ajeh

I can reproduce this with <3 but not with < (space here) 3 ...

Thanks for the update on this one we will continue to look into it ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

5 Sep 2008, 1:45 AM
#9
nicknicknick avatar

nicknicknick

New Zenner

Join Date:
Oct 2006
Location:
Toronto, Canada
Posts:
3
Plugin Contributions:
0

Post #9 by nicknicknick

That's great Ajeh. I'm glad that we're not crazy. It would be nice to know what is causing this.

5 Sep 2008, 1:53 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #10 by ajeh

You gave the clue that allowed this to be reproduced ... :smartalec:

There wasn't a space in what you wrote and the other had a space and unfortunately that is how I have been testing it ... up until now when I was suddenly struck by the silly little thought of, what would happen if I typed it like ... :lamo:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!