在 Magento 订单邮件中显示出生日期
我想在客户的订单邮件中显示客户的生日。注册邮件里是
{{var customer.dob}}
但这在订单邮件中不起作用。还:
{{var order.getCustomerDob()}}
不起作用。而且我在网上找不到正确的语法。你有线索吗?或者我是否需要为此编写一个额外的方法,如果需要,在哪里?
I would like to show the Birthday of a customer in their order-mail. In the registration mail it is
{{var customer.dob}}
But this doesn't work in the Order-Mail. Also:
{{var order.getCustomerDob()}}
doesn't work. And I cannot find the right syntax online. Do you have a clue? Or do I need to write an extra method for that, and if so, where?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
试试这个:
Try this :