Magento. 如何编辑“og体育”页面
April 24, 2012
(基于类型:Magento主题项目:#38150. 设计上的差异是可能的,尽管过程基本相同)
下面是对Magento联系页面和表单进行的一些最常见的更改. Note to clear your Magento and browser cache 在预览更改结果之前.
如何更改要更改“og体育”页眉和页脚菜单的标题?
更改“联络我们”的标题 header and footer menu, go to your Magento admin panel -> CMS -> Static Blocks -> header_links/footer_block accordingly. 中的菜单标题的标题 Content to change it. 完成后,单击顶部的“Save Block”.
如何更改“联系人”页面的浏览器选项卡的标题?
On your FTP 在Magento文件所在的文件夹中,转到 \app\design\frontend\default\theme_number\layout and open a file called contacts.xml to edit.
更改页面的名称.
Contact Us
And save the changes.
如何更改“联系人”页面上的表单字段文本?
On your FTP server go to \magento\app\design\frontend基础\ \默认模板\ \联系 and open a file called form.phtml to edit. 按Ctrl (MAC: Command) + F查找要更改的文本. 完成后保存更改.
如何定义您的Magento商店联系信息?
登录到您的Magento管理面板,然后转到 System -> Configuration -> Contacts (left-side panel).
Under Contact Us -> Enable Contact Us 确保选择“Yes”.
Under Email options -> Send Email To 指定在使用“Contacts”页面上的表单时要用于接收反馈的电子邮件地址.There are two more options below:
- The EmailSender -使用ContactUs表单发送的评论的from:行上的名称;
- Email Template —将客户意见发送到指定邮箱时使用的模板 Send emails To field.
如何定义您的Magento网站的电子邮件地址?
Magento允许您为您的商店维护多个电子邮件地址 role. Go to admin: System -> Configuration -> Store Email Addresses:
在本节中,您可以指定 Sender Name (发送邮件的人) and Sender Email (used for sending emails). 任何未使用的字段都可以留空.
注意,这些设置应用于整体 website. 如果你在一个 Website,您可以为每个商店设置不同的电子邮件地址.
为单个存储输入不同于为整个存储指定的电子邮件地址 Website:
- 控件中选择所需的存储 Current Configuration Scope dropdown 系统配置屏幕左上角的菜单.
- Click the 存储邮箱地址 section.
- Clear the Use website 选中要更改的字段旁边的复选框,并用所需的值替换字段中的值.
单击“Save Config”保存更改.
如何使一个表单字段是必需的?
On your FTP server go to \magento\app\design\frontend基础\ \默认模板\ \联系 and open a file called form.phtml to edit.
如果其中一条直线是这样的
You need to add * 把它变成这样
你的模板可能有一个“required”的css类,所以它可能会有所不同.
如何向表单添加新字段(非必需)?
On your FTP server go to \magento\app\design\frontend基础\ \默认模板\ \联系 and open a file called form.phtml 编辑和添加以下内容:
Where Fax 这是你新领域的名字吗.
如何在电子邮件中添加新的详细信息字段?
在您的Magento管理,你需要去 System -> Transactional E-mails -> Add New Template.
Choose ‘Contact Form’ from the “Template”drop-down and click ‘Load Template’.
在“模板信息”下,为表单模板添加一个新名称,并在当前电子邮件内容中添加一个新字段. E.g.:
Fax: {{var data.fax}}
Click on “Save template”.
Then go to System -> Configuration -> Contacts and in the ‘Email Options在“电子邮件模板”下选择新的模板名称 dropdown menu.
Click on “Save Config”.
请随时查看下面的详细视频教程: