线上购物 文档

Complete installation

The complete installation method can be used if you want to set up a 线上购物 store using a sample content. We assume that you have completed all the preparation steps.

The installation process consists of 3 stages:

  1. 创建数据库.
  2. Uploading all the required 文件s to the server.
  3. Installing a 线上购物 Commerce engine together with the template you have purchased.

让我们开始吧!

创建数据库

First, you need to prepare a new database for your 线上购物 store. You can create the new database using the database management tool from your hosting control panel (通常PhpMyAdmin).

The following data will be received while creating a database: 数据库名称, 数据库用户名, password 和 you server name. You need to save this data as you will need it for further 线上购物 installation.

With the phpMyAdmin tool you will be able to create a new database in 3 simple steps(check the slides below):

  1. 打开 “数据库” tab, you will see the list of databases.

  2. 输入你的 数据库名称. 点击 “创造” button.

  3. Your database has appeared in the list. In order to enter the database, click on its name in the list.

You can also check the detailed video tutorial on How to create a database

If you have any issues with creating a database, please contact your hosting provider for help 和 assistance.

样例数据导入

线上购物 template package contains the sample data 文件 (转储.sql or 转储.gz). This 文件 is located in the /sources/sample_data folder of your template. It allows you to load sample data, so that your website looks exactly like our demo template.

不要导入 转储.sql.gz if you already have the data on your site. 在导入 转储.sql.gz all the products will be erased from your store. If you do not want to install sample data, use clean database while installing 线上购物. Skip the sample data installation step.

In order to install the 转储 文件, follow the steps below:

  1. Log into PhpMyAdmin 和 select the database that you will use for 线上购物 Commerce (It was created by you with the help of the steps provided earlier).
  2. 导航到 “导入” 选项卡并单击 “浏览” button.
  3. 找到 "/sources/sample_data" folder of your template 和 select the 转储.sql.gz.文件. 点击 "GO".
    The import process can take a few minutes.

Uploading 和 unzipping

To start working with 线上购物 you need to upload the 文件s to your hosting server. This can be done using your hosting 文件 manager or some third party FTP manager.

  1. Select “解压缩.php的“fullpackage.邮政的 文件s 和 upload them to your server ( How to upload the 文件s to a server).
  2. Type the path to the “解压缩.php的 文件 on your server (http://your_domain_name/unzip.Php) 浏览器.
  3. You should see the following screen:
    解压缩.PHP初始界面.
  4. 'Choose your zip文件' select box please select the uploaded fullpackage.zip文件.
  5. 解压缩到 field specify the directory where you want to extract the 文件s.
  6. 单击 “解压缩” 继续按钮.

Please make sure to set the correct permissions for the directory where you are planning to extract the 文件s. Permissions should be CHMOD 755或777 depending on your server configuration.

线上购物 engine installation

When you are done with uploading the 文件s, you can start with 线上购物 engine installation. Open your 浏览器 和 type your 'domain name/path to your 线上购物 directory' 在地址栏中. You should see the welcome screen. Please follow the instructions below to install 线上购物.

请注意: 转储.sql.gz 文件 should be imported into the clear database BEFORE you install 线上购物.

Step 1: Installation Assistant

Please read the license agreement 和 click the "I agree to the above terms 和 conditions" checkbox if you agree with the terms.

Step 2: Installation Assistant (Localization)

Select the Locale, Time Zone 和 default currency. The Locale option defines your 线上购物 store backend language. If you want to change the frontend language, you need to download 和 install 线上购物 frontend locales. All the options can be easily changed through the 线上购物 admin panel.

Step 3: Configuration

Here you need to input the store database details 和 some initial settings. Database Connection – input the database host name, user name, password 和 name. Contact your hosting provider if you don't have the necessary details.

Make sure you have a database created for the 线上购物 installation. And also make sure it is clear, without any tables. Web访问选项Session Storage Options – please leave the options without any changes if you are not sure. The default settings usually work fine.

If everything is correct, please click the'继续”按钮.

Step 4: Create Admin Account

Here you need to input personal details for the store owner 和 administrator.

When you are done, click the “继续” button.

Step 5: You are All Set

This is the final step of installation. Copy the generated encryption key 和 keep it safe. You can use the buttons in the bottom right corner to view the store front end 和 the admin panel.