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