开发者

Customer name incomplete on order confirmation

Came across the following during a project: Customer fills out his/her name during checkout: Firstname Middlename Lastname

The conf开发者_Python百科irmation email sent contains incomplete name in the form of "Firstname Lastname" on the first sentence of the confirmation

I looked at the mail templates and the function order.getCustomerName() does not seem to retrieve all the information.


You can set this in the customer address settings of admin.

Admin → System → configuration → Customer Configuration → Name and Address Options → Show Middle Name (initial).

Showing more than the initial in the templates is something you will have to investigate further. In the UK we keep the form simple and don't ask middle names.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜