X-Cart study notes (I) learn about and install X-Cart_PHP tutorials

Source: Internet
Author: User
Tags zend server
X-Cart study notes (1) understand and install X-Cart. Directory X-Cart study notes (1) understanding and installing X-CartX-Cart study notes (2) X-Cart framework 1X-Cart study notes (3) x-Cart framework 2X-Cart study notes (4) common operations directory X-Cart study notes (1) understanding and installing X-CartX-Cart study notes (2) x-Cart frame 1X-Cart study notes (III) X-Cart frame 2X-Cart study notes (IV) common operations

1. understand X-CART

X-Cart is known as the world's most powerful open-source PHP shopping Cart software. it covers almost all e-commerce functions. it uses web-based background management, multi-language support, intelligent inventory management, and flexible template customization, function plug-ins and modularization.

X-Cart is divided into gold and Pro versions. The Gold version is the general store version, and the Pro version is the mall version.

The advantage of this software is its powerful functionality. because it is a life-long open-source software that uses the payment method, the stability, security, and scalability of the software are strong.

The X-Cart front-end uses the smarty template to present data in combination with the html language. the server language uses the PHP language.

II. PHP environment construction

Since the X-Cart server language is PHP, it takes a long time to install MySQL on the Apache server and database separately. Therefore, the integrated environment is installed, I chose Wamp Server (which occupies port 80 of the local machine by default). of course, Zend Server can also be used.

You need to modify the configuration file httpd. conf of Apache based on the actual situation. For example, I modified As follows:

Options Indexes FollowSymLinks

AllowOverride All

Order allow, deny

Allow from all

PHPStorm and VS2012 + VS. PHP are used in the development environment. due to my habits, VS2012 + VS. PHP is used for debugging convenience.

To facilitate database management, I have installed the MySQL database management tool Navicat for MySQL. of course, you can directly use http: // localhost/phpmyadmin.

3. install configuration X-CART1, download X-Cart and configure domain name, ing address

Download the latest version of X-Cart gold plus and decompress it to any location you want to store (for example, H: \ My Web Sites): http://www.x-cart.com/download.html#my download is x-cart-4.6.1goldplus.

Before configuring x-cart, you need to configure the domain name and ing address for the website, find the installation directory of Wamp, my directory is D: \ wamp, and find the directory D: \ wamp \ bin \ apache \ Apache2.4.4 \ conf \ extra httpd-vhosts.conf, open with Notepad or other text tools, 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 unzip 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

Now you can access ingress locally:

Before you open this configuration website, another important task is to add the IP ING of the website address to the local hosts file. my website is Windows 8, and the hosts file is in the directory: C: under \ Windows \ System32 \ Drivers \ etc, open the hosts file with Notepad or other text editing tools and add a new line at the end:
127.0.0.1 www.x-cart-plus.com

Browse Web site www.x-cart-plus.com now:

2. configure X-Cart

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

Select I accept the License Agreement and click Next. the Next page is to check whether the current PHP configuration environment meets the requirements. generally, it is passed,

Click Next, and configure the database information, as shown in,

Enter the configuration information of your MySQL database. on this page, enter the store email address. Click Next,

This page is used to configure the region information of the shopping website. select the desired region and click Next,

This page is used to create database information. the configuration information of x-cart will also be saved in the database. after the installation is complete, click Next,

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

This page is the preview image after the previous skin is selected. click Next,

This step is used to configure the Paypal payment. you can skip this step. you can configure it in the background and click Next,

This step is used to generate a system fingerprint. you can click Next without configuring it,

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 isQskvt_oxdF0gqiafYrMt_cDfLv-BVf5W.

Auth code is used to prevent unauthorized accessto the X-Cart installation scripts. if you decide to reinstall X-Cart, change askin or install an add-on module, you will be asked to enter this code first. it is not necessary to remember this code: when needed, you can find it in theSummary section 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 are used to log on to the x-cart management page (for convenience of memory, you can change the password during background management). The Authcode here is the permission authentication code, this function is required to clear cache and other advanced permissions.

X-cart has been installed. clickCustomer areaYou can enter the foreground user interface,

ClickAdministrator areaEnter the username and password to go to the background management page,

OK. Now the installation is complete.

If there are any errors, please point out and learn together.
Some descriptions are from Baidu Baike.

Respect the Author. For more information, see the source.

Objective X-Cart study notes (1) understanding and installing X-Cart study notes (2) X-Cart framework 1 X-Cart study notes (3) x-Cart framework 2 X-Cart learning notes (4) 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.