如何在 Joomla Virtuemart 中编辑电子邮件?
客户订购了产品并收到了一封电子邮件。
在组件中
/components/com_virtuemart/themes/theme048/templates/order_emails
我找到了一些模板,但不知道在哪里编辑这些空字段
The customer ordered a product and received an email.
http://img197.imageshack.us/i/emptyfieldsemail.png/
But there are optional fields and I want to remove them from email body if they are not filled by the user. If the company name is not filled in then I dont want to show them in the email but i cant find the place to edit.
In the components
/components/com_virtuemart/themes/theme048/templates/order_emails
I found some templates but cant figure out where to edit those empty fields
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在
administrator/components/com_virtuemart/html/templates/order_emails/email_english.html
中更改模板“记住文件末尾的语言 email_your_language.html ,文件名默认语言为您的 Virtuemart 安装通常是需要编辑的文件。”电子邮件模板使用方法函数 email_receipt() 用来自administrator/components/com_virtuemart/classes/ps_checkout.php 文件的内容填充。 email_receipt() 函数在模板中定义占位符,并使用函数 str_replace 分配它们的值。
我希望这些信息有帮助
You can change the template in the
administrator/components/com_virtuemart/html/templates/order_emails/email_english.html
"Remember the language at the end of the file email_your_language.html , the filename with the default language of your Virtuemart Installation is usually the file that needs to be edited."The email template is populated with content from the administrator/components/com_virtuemart/classes/ps_checkout.php file using the method function email_receipt(). The email_receipt() function defines placeholders in the template and the values of them are being assigned by using the function str_replace.
I hope this information helps