Magento2,当客户下订单时,发送来确认他们订购内容的电子邮件就会乱七八糟。
它看起来设置正确,有趣的是订单号的变量工作得很好,但客户数据是通过的,
请参阅附件,
你有什么想法吗?
谢谢。-O

发布于 2017-02-02 16:50:47
当你查看vendor/magento/module-sales/view/frontend/email/order_new.html (核心文件)时,它的用法如下:
{{trans "%customer_name," customer_name=$order.getCustomerName()}}您可以使用相同的。
https://stackoverflow.com/questions/41994247
复制相似问题