确认订单时客户名称不完整 [英] 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 confirmation email sent contains incomplete name in the form of "Firstname Lastname" on the first sentence of the confirmation
我看了看邮件模板,函数order.getCustomerName()
似乎没有检索所有信息.
I looked at the mail templates and the function order.getCustomerName()
does not seem to retrieve all the information.
推荐答案
您可以在admin的客户地址设置中进行设置.
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.
这篇关于确认订单时客户名称不完整的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!