X-cart Learning Notes (i) Understanding and installing x-cart_php tutorials

Source: Internet
Author: User
Tags smarty template zend server

Directory

X-cart Learning Notes (i) Understanding and installing X-cart

X-cart Study Notes (ii) X-CART framework 1

X-cart Study Notes (iii) X-CART Framework 2

X-cart Study Notes (iv) common operations

First, understand X-cart

X-cart claims to be the world's most powerful PHP shopping cart open source software, almost all e-commerce features, the use of web-based management background, multi-lingual support, intelligent inventory management, flexible template customization, functional plug-in, modular.

X-cart is divided into gold and Pro editions of these two editions. The gold version is the general store version and Pro is the marketplace version.

The advantage of this software is more powerful, because it is a paid way to use the lifetime system of open source software, software stability, security and scalability is strong.

The X-cart front desk uses the Smarty template in conjunction with the HTML language to render the data, and the server language uses the PHP language.

Second, the construction of PHP environment

Because the X-cart server language is PHP, so need to use the Apache server, the database used by MySQL, a separate installation compared to the time, so with the installation of the integration environment, I chose the Wamp Server (by default, will occupy the local port 80), Of course, you can also use Zend Server.

Depending on the situation, you will also need to modify the Apache configuration file httpd.conf. For example, I modified the following:

Options Indexes FollowSymLinks

AllowOverride All

Order Allow,deny

Allow from all

The development environment uses Phpstorm and Vs2012+vs. PHP, because of personal habits, use is Vs2012+vs. PHP, easy to debug.

In order to manage the database conveniently, I installed the MySQL database management tool navicat for MySQL, of course, the direct use of http://localhost/phpmyadmin/is also possible.

Three, installation configuration X-cart

1, download X-cart and configure the domain name, map address

Download the latest version of X-cart Gold Plus and unzip it to any location you want to store (e.g. H:\My Web Sites), download the address: http://www.x-cart.com/download.html; I downloaded x-cart-4.6.1goldplus.

Before configuring X-cart, you need to configure the site name, map the address, find the Wamp installation directory, my is D:\wamp, find the directory D:\wamp\bin\apache\Apache2.4.4\conf\ Extra under httpd-vhosts.conf, use Notepad or another text tool to open, add the following code at the end of the file, and then restart the Apache server:

ServerAdmin test@dummy-host2.example.com

DocumentRoot "h:/my Web sites/x-cart-4.6.1goldplus"//x-cart extract Directory

ServerName www.x-cart-plus.com//website Access address

Errorlog "Logs/x-cart-plus-error.log"//error log file

Customlog "Logs/x-cart-plus-access.log" common//regular log file

You can now access the http://www.x-cart-plus.com/address locally, but since you did not do any X-cart installation configuration work, the store opens:

Before opening this configuration site, there is another important task is to add the IP map of the URL in the local Hosts file, my is the WINDOWS8 system, the Hosts file in the directory: C:\WINDOWS\SYSTEM32\DRIVERS\ETC, Open the Hosts file with Notepad or another text editing tool and add a new line to the last face:
127.0.0.1 www.x-cart-plus.com

Now browse URL www.x-cart-plus.com:

2, Configuration X-cart

Open http://www.x-cart-plus.com/install.php in the browser and go to the configuration page

Select I accept the License agreement, click Next, the next page is to detect whether the current PHP configuration environment meets the requirements, in general, is passed,

Click Next directly, then the main configuration database information, configuration, such as,

Database information to fill out their MySQL configuration information can, in this page also need to fill in the store's email address. Click Next,

This page is used to configure the geographic information for the shopping site, select what you want, and then click Next.

This page is used to create the database information, X-cart configuration information will be saved in the database, and so on after the installation completely click Next,

This step is used to configure the skin information, I chose Idealresponsive, click Next,

This page is the preview of the last selected skin, click Next,

This step is used to configure PayPal payment, here can be ignored, can be configured in the background, click Next,

This step is used to generate the system fingerprint, can not be configured, directly click Next,

This is used to display configuration information, some information must be remembered,


X-cart installed successfully. To access Yourstore, use the links below:

    • Customer Area
    • Administratorarea [Username: 1147639842@qq.com, Password: an4w90n]


Auth code is qskvt_oxdf0gqiafyrmt_cdflv-bvf5w.

Auth code is used to prevent unauthorized accessto the X-cart installation scripts. If you decide to reinstall X-cart, the change Askin or install a add-on module, you'll be asked to enter the this code first. It is not a necessary to remember this code:when needed, and you can find it in thesummary sections of the X-cart Admin area. Besides, the AUTH code together Withother info is sent to your email address1147639842@qq.com

The above username and password used to enter the X-cart management page when the login (in order to facilitate memory, in the background management can modify the password), here the Authcode is the authorization code, in the clear cache and other advanced permissions to use the function is needed.

Now that the X-cart has been installed, click Customer area to access the front-end user interface,

Click Administrator area to go to the admin page, enter the username and password you just entered,

Ok, this is the end of installation until now.

Where there is a mistake, please point out that you will learn together.
Some of the descriptions come from Baidu Encyclopedia.

Respect the author, reprint please explain the source.

http://www.bkjia.com/PHPjc/729842.html www.bkjia.com true http://www.bkjia.com/PHPjc/729842.html techarticle Catalogue X-cart Learning Notes (i) Understanding and installation X-cart X-cart Learning notes (ii) X-CART Framework 1 X-cart Learning Notes (iii) X-CART Framework 2 X-cart Learning notes (iv) Common operations ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.