eZ Community » Forums » Setup & design » & & encode

& & encode

& & encode

Friday 30 March 2012 9:55:57 pm - 3 replies

I have problem with the "&" character in shop workflow. During shop workflow parts of registrated user names will be deleted.

instead of user name "GmbH & Co. KG" only "GmbH" remains.

(shortly ago updatet on 4.4.0)

is there a solution?

many thx!



Friday 30 March 2012 10:51:57 pm


could you tell us more about which workflow : i think there is no escape when the name attribute is used.

let us know



Sunday 01 April 2012 11:42:25 am


If I remember correctly, the default shop account handler relies on a piece of XML that is stored in the database to keep the customer infos and & is a special character in XML. I bet there's an issue while storing or reading this XML. You should look at the ezorder SQL table to see if everything is correctly stored.


Wednesday 04 April 2012 8:53:57 pm

thank you!

yes the problem is the orderdata stored in ezorder all together in data_text_1 field as xml and "&" is not allowed.

the problems occurs, when the temporary order is generated, after fill in userregister.

If I code "&" while filling in the userregister.tpl form, it works. So my  question for the moment, why  input string in userregister.tpl is not translate into html?

Should not the "wash" operator do this?

 <input ... value="{$last_name|wash()}" />

 <input ... value="{$last_name|wash(xhtml)}" /> doesnt work either.

thx and Gruß


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from