opencart mail.php,如何修改OpenCart系统发信邮箱模板
OpenCart系統發新不能像Magento那樣方便的在后臺修改e-mail的內容模板
但是能夠通過修改語言文件修改發信內容.
注冊用戶成功郵件的模板在語言文件夾的mail/account_create.php中修改.
例如,默認的英文郵件就在catalog/language/english/mail/ccount_create.php文件中.內容如下
// Text
$_['text_subject']??=?'%s - Thank you for registering';
$_['text_welcome']??=?'Welcome and thank you for registering at %s!';
$_['text_login']????=?'Your account has now been created and you can log in by using your email address and password by visiting our website or at the following URL:';
$_['text_approval']?=?'Your account must be approved before you can login. Once approved you can log in by using your email address and password by visiting our website or at the following URL:';
$_['text_services']?=?'Upon logging in, you will be able to access other services including reviewing past orders, printing invoices and editing your account information.';
$_['text_thanks']???=?'Thanks,';
里面內容不多做解釋了.%s為替換的對應變量,不懂的可以對應著郵件修改.
相應的,此文件夾下的其他文件也為對應的郵件模板.支持html語法.
(責任編輯:最模板)
與50位技術專家面對面20年技術見證,附贈技術全景圖總結
以上是生活随笔為你收集整理的opencart mail.php,如何修改OpenCart系统发信邮箱模板的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: matlab r2012a win10,
- 下一篇: matlab将孤立点连接起来,复杂网络模