Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/email/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/algorithm/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Email Magento-2电子邮件新订单客户数据变量未显示在电子邮件中_Email_Magento2 - Fatal编程技术网

Email Magento-2电子邮件新订单客户数据变量未显示在电子邮件中

Email Magento-2电子邮件新订单客户数据变量未显示在电子邮件中,email,magento2,Email,Magento2,Magento2,当客户下订单时,发送给他们确认订单内容的电子邮件会出错 它看起来设置正确,有趣的是订单号的变量工作正常,但客户数据是通过注释传递的 见附件 有什么想法吗 谢谢。 -O 当您查看vendor/magento/module sales/view/frontend/email/order_new.html(核心文件)时,其用法如下: {{trans "%customer_name," customer_name=$order.getCustomerName()}} 你可以用同样的

Magento2,当客户下订单时,发送给他们确认订单内容的电子邮件会出错

它看起来设置正确,有趣的是订单号的变量工作正常,但客户数据是通过注释传递的

见附件

有什么想法吗

谢谢。 -O


当您查看vendor/magento/module sales/view/frontend/email/order_new.html(核心文件)时,其用法如下:

{{trans "%customer_name," customer_name=$order.getCustomerName()}}
你可以用同样的