Ecshop integration of the most soil Purchase program (UC) Detailed tutorial
Source: Internet
Author: User
Today, the customer asked us if we can add a daily purchase function in the Ecshop Mall, of course, we finally chose the most soil business version of the program, the function is still perfect.
First, we have to consider the synchronization of members, this is needless to say, first of all, I like to Ucenter. The most direct and easiest way to operate.
Ecshop How to integrate UC we will not say, the internet has been said rotten. But I'll still have a slight.
We will be the EC as the main program, placed in the root directory, any new 2 folders in the root directory, respectively, UC and Zuitu
First: Install Ucenter. At present, the image is only UTF8 version, so we also download the same language version of UC. (Installation process omitted)
Second: Install the root of the EC, installed after the back into the background-member management-member integration, see the integration of UC options, direct point of installation. Follow the prompts step-by-step operation can be, of course, to choose the simultaneous landing ... After the installation is successful, we can see that the application has been automatically added when we enter UC. Here is not much to say, we mainly said that everyone is not familiar with the most soil and UC integration.
Third: Do not hurry to install the most Earth program, into the UC background, add applications, custom installation, mainly added several items: The application of the main URL: that is, your most Earth network address; application type: Other; application name: Write it yourself. Sync login and take over notice to choose. Ok. Let's submit it.
Four: Return to application management, see whether the communication is normal, if the normal is the best, if not normal, you can fill in the application of the physical path:, do not fill, just fill in. /on it, the basic can be solved, if not, look for your own installation problems. After the communication is normal, copy the Ucenter configuration information for the application below the application.
Five: This is the most important step. Create a new config.php file in the Uc_client directory under the earth directory. The contents are as follows
<?php
= = = Extract "Applied ucenter configuration Information" and copy to the blank space below ==============================
Define (' Uc_connect ', ' MySQL ');
Define (' uc_dbhost ', ' localhost ');
Define (' Uc_dbuser ', ' FANGC ');
Define (' UC_DBPW ', ' 429006 ');
Define (' Uc_dbname ', ' FANGC ');
Define (' Uc_dbcharset ', ' GBK ');
Define (' Uc_dbtablepre ', ' FANGC '. uc_ ');
Define (' Uc_dbconnect ', ' 0 ');
Define (' Uc_key ', ' C40a2hvethc1ulueun4oh5r6pxtajupwrfrfzhe ');
Define (' Uc_api ', ' Http://168k.tk/uc ');
Define (' Uc_charset ', ' GBK ');
Define (' uc_ip ', ');
Define (' Uc_appid ', ' 1 ');
Define (' uc_ppp ', ' 20 ');
Replace the configuration information above with the one you just copied.
Sixth: Install the most soil buy program, OK, the first registered user is the administrator. Then back to the UC background, see the member management, you can see, a lot of the most land registered user is the most soil administrator number. This shows that the most soil and UC integration success.
Finally very simple, to ecshop register a member, and then go to the most land to see, if the landing on the show that we are done.
Here's the tutorial, very detailed.
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.