opencart mail.php,如何修改OpenCart系统发信邮箱模板
OpenCart系統(tǒng)發(fā)新不能像Magento那樣方便的在后臺修改e-mail的內(nèi)容模板
但是能夠通過修改語言文件修改發(fā)信內(nèi)容.
注冊用戶成功郵件的模板在語言文件夾的mail/account_create.php中修改.
例如,默認的英文郵件就在catalog/language/english/mail/ccount_create.php文件中.內(nèi)容如下
// 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,';
里面內(nèi)容不多做解釋了.%s為替換的對應(yīng)變量,不懂的可以對應(yīng)著郵件修改.
相應(yīng)的,此文件夾下的其他文件也為對應(yīng)的郵件模板.支持html語法.
(責(zé)任編輯:最模板)
與50位技術(shù)專家面對面20年技術(shù)見證,附贈技術(shù)全景圖總結(jié)
以上是生活随笔為你收集整理的opencart mail.php,如何修改OpenCart系统发信邮箱模板的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: matlab r2012a win10,
- 下一篇: php exec grep 写错误,又遇