搜索
开启辅助访问 切换到宽版

QQ登录

只需一步,快速开始

扫一扫,访问微社区

注册 找回密码
查看: 9274|回复: 3
打印 上一主题 下一主题

會員註冊成功,系統發送的Mail的內容的修改?

[复制链接]
跳转到指定楼层
楼主
发表于 2011-5-26 15:23:06 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 lin00591 于 2011-5-26 15:23 编辑

請問系統發送給會員的註冊成功的信息,我想要改成我要的,在哪邊修改,我找不到位置,麻煩大大幫我解決一下?

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏 分享分享 支持支持 反对反对
回复

使用道具 举报

沙发
发表于 2011-5-27 23:14:15 | 只看该作者
catalog\controller\account\create.php

里面怎么修改我也在找方法.
回复 支持 反对

使用道具 举报

板凳
发表于 2011-5-28 11:05:44 | 只看该作者
修改OpenCart系统发信模板

OpenCart系统发新不能像Magento那样方便的在后台修改e-mail的内容模板
但是能够通过修改语言文件修改发信内容.
注册用户成功邮件的模板在语言文件夹的mail/account_create.php中修改.
例如,默认的英文邮件就在catalog/language/english/mail/ccount_create.php文件中.内容如下
平板视图打印?
1
// Text
2
$_['text_subject']  = '%s - Thank you for registering';
3
$_['text_welcome']  = 'Welcome and thank you for registering at %s!';
4
$_['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:';
5
$_['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:';
6
$_['text_services'] = 'Upon logging in, you will be able to access other services including reviewing past orders, printing invoices and editing your account information.';
7
$_['text_thanks']   = 'Thanks,';
里面内容不多做解释了.%s为替换的对应变量,不懂的可以对应着邮件修改.
相应的,此文件夹下的其他文件也为对应的邮件模板.支持html语法.

转自:https://jidda.name/e-commerce/ope ... A8%A1%E6%9D%BF.html
回复 支持 反对

使用道具 举报

地板
发表于 2011-5-29 17:42:45 | 只看该作者
不错支持
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐 上一条 /1 下一条

QQ|手机版|OpenCart - 中文官方网站 ( 蜀ICP备09033774号|人工智能

GMT+8, 2024-5-8 10:56 , Processed in 0.058071 second(s), 21 queries , Gzip On.

快速回复 返回顶部 返回列表