线上购物 文档

线上购物模板安装

First of all, please make sure your 线上购物 installation version meets the template requirements. If you are using an outdated version of 线上购物, you need to upgrade it. Don't forget to back up the files 和 the da选项卡ase. 线上购物 upgrade instructions are available at the 线上购物维基 网站.

If your 线上购物 engine meets the template requirements, you can start the template installation.

  1. Open the template package 和 go to the 主题# # # folder.
  2. 上传 主题# # # folder 内容s to the 线上购物 installation directory (upload "应用程序", "皮肤以及其他folder). These folders contain the theme files. They will not affect your existing files.

模板配置

We are going to review the template configuration options based on the example. It is configured the same way as our Live Demo template, without affecting the products data.

激活新模板

  1. Open 线上购物 admin panel 和 navigate to System > 设计 在顶部菜单中.
  2. 点击“添加设计更改”按钮.
  3. 在“自定义设计" field, select the theme name (for example, 主题# # #). 点击“保存" button to confirm the changes.

重建索引数据

  1. Open the 线上购物 admin panel 和 select System > Index Management 在顶部菜单中.
  2. 检查“选择所有框在左上角.
  3. 在“行动“字段选择”重建索引数据".
  4. 点击“提交”按钮.
  5. Please be patient, this may take a while.

禁用缓存

In order to make the changes 应用程序ear on your 网站 with no delay, you need to disable cache. It prevents additional cache clearing actions after every change you make. You can enable it when you are done with store editing.

  1. Open 线上购物 admin panel 和 navigate to System > Cache Management 在顶部菜单中.
  2. 在 top left corner click "选择所有".
  3. 在右边,在"行动“字段选择”禁用".
  4. 点击“提交”按钮.

标志的配置.

Please follow these steps when setting up the logo image included into the theme package (you can view it on the Live Demo page).

  1. Open the 线上购物 admin panel 和 select System > Configuration 在顶部菜单中.
  2. 选择“设计”选项卡.
  3. 在“Header节,编辑“标志图像Src字段值. 把它从“gif" to "png".
  4. 点击 “保存配置” button.

In order to install your company logo, you need to upload the logo image file into the /图片 folder的线上购物主题.

页面配置

In order to make your template look exactly like our Live Demo, you need to set up store pages in a specific way. We provide all the files with the pages source code. You need to add them into 线上购物 admin panel as per the instructions below using the settings 选项卡le. Settings 选项卡le is located on the 技术细节 page on the template preview page. The 文档 file contains the link to this page:

  • 文档
    • 文档.html

The main template page will be affected the most. It usually contains the following elements: banners, slider, gallery, etc.

We recommend that you disable the WYSIWYG editor. 为此,选择 System > Configuration 从管理顶部菜单. 打开“内容管理节和中 所见即所得的选项 窗口设置”启用所见即所得编辑器“选项到”完全禁用".

In case you have already made the changes to your pages code 和 would like to add our code without affecting the changes, it is recommended to contact the professional technicians or prepare a backup file before making the changes.

  1. 从顶部菜单中选择 CMS > Pages. Here you can find all the store pages. 主页, og体育客户服务 should already be available, so you don't need to add them. You only need to update the pages HTML 和 XML 内容. Open any of them in order to get the access to the 内容.
  2. 打开页面并选择 内容 选项卡. It contains the HTML code of the page. You can take the page HTML code from the 应用程序ropriate source file. You can see the list of source files included in the "Template Settings" section on your templates preview page. Copy the code from the source file 和 paste it to the 内容 area.
  3. When you are done with the HTML code, switch to “设计” 选项卡. 它包含页面XML代码. XML code allows you to add 线上购物 static blocks 和 widgets to the page. The XML code should be copied the same way as the HTML from the source file. 将XML代码复制到布局更新XML”区域.
  4. Don't forget to select the valid "布局”选项.
  5. In case you need to add a new page, click the “添加新页面” button in the top right corner.

In case you have any difficulties, please check the detailed tutorial on How to configure pages manually.

静态块配置

When you are done with configuring the pages, you need to configure the static blocks. The procedure is similar: you need to copy the code from the source files 和 paste it to the corresponding fields in the 线上购物 admin panel. You need to use a similar 选项卡le but for the static blocks.

  1. 从顶部菜单中选择 CMS > Static Blocks.
  2. 点击“Add New block”按钮 in the right corner to add a new block.
  3. Input the block name 和 identifier. You can get the block details from the 选项卡le at the templates Live Demo page (check the Pages Configuration part).
  4. Open the block source file 和 copy the HTML code into the 内容 area.

Please note: some of the templates do not contain any static blocks, so the 选项卡le can be empty.

The source files with the static blocks code are stored in the "来源\ demo \ static_blocks \" directory of the template package.

How to display our blocks with static 内容?

  1. CMS > Widgets 在顶部菜单中.
  2. 单击 添加新的小部件实例 button in the top right to add the widget.
  3. 指定小部件类型 CMS > Static Blocks 和 theme which you want to 应用程序ly the widget to 和 click the继续 button.
  4. 在下一页,在 小部件实例标题 field, enter the name of the widget which will be displayed in the admin panel. 在 分配给存储视图 field you need to select store views which will display the widget. 在 布局更新 块,点击 添加布局更新 button. 在 显示在 field you can select the pages where the widget will be displayed. Depending on selected pages you will have opportunity to fill in the additional fields.
  5. 选择 小部件选项 选项卡 in the left sidebar 和 select the static block you are referring to. 不要忘记保存更改.

When you are done with configuring the store pages 和 blocks, your store is ready to go.