1. install and configure the PHP + MySQL Environment
We recommend that you install the PHP integrated environment package (convenient and fast). There are many such tutorials on the Internet, so we will not go into details here.
For a virtual host, the server must support the installation and running environment requirements of Zen-Cart.
2. Download the Zen-Cart source program, decompress it, and upload it to the corresponding directory of the website space. Enter http: // domainname/zc_install/index in the address bar of the browser. php, and then follow the prompts to install...
After the installation is complete, go to the front-end and you will find the Warning with two conspicuous red backgrounds. This requires you to delete or rename the name of the installation directory, you can also modify the permission of the configuration file (if FTP cannot be changed, directly modify the file des \ init_initdes \ init_header.php:
Define ('warn _ CONFIG_WRITEABLE ', 'true'); Change "true" to "false") to avoid being used by others. Follow the instructions and refresh your webpage.
3. Install the Easy Popular batch product management software and import data in batches.
Download the bulk commodity management plug-in. After decompression, there will be several txt files and a catalog directory. Copy all the files in the catalog directory to your program installation directory.
Refresh the background and find the Easy Popular menu in the Tools column. Click to enter. The Configuration prompt will be displayed at the top of the page, asking you to install it. Click here as prompted ", in this way, the EP plug-in is successfully installed.
Next, we need to import data to the database. here we need to upload product images to the images directory under the program installation directory. There may be a lot of product images, and it is very troublesome to manually edit and record data, I wrote a special tool to generate an excel report based on the product image. If necessary, contact me.
4. template modification involves three major aspects: the Banner and Logo on the top, navigation, Flash/JS image display, and overall tone modification navigation bar are displayed in the templates/template file directory/commom/tpl_header.php.
In this file, require is a file in the div whose id is topLinks, which outputs the navigation menu. You can change this require to what we need, or you can directly modify it in includes/templates/template_default/templates/tpl_ezpages_bar_header.php, the corresponding CSS is located in the directory/css/stylesheet.css of the includes/templates/template file # For the three-column template in topLinks, the width of the left and right columns can be directly modified in the layout settings under Configuration, but the CSS code needs to be modified for the setting in the middle column, the corresponding CSS code is located in # mainWrapper in the includes/templates/template file directory/css/stylesheet.css file. After modification, you will find that the width of the LOGO and navigation section on the top is inconsistent with the overall width. We can continue to modify the # logoWrap width in this file.
By default, the title and background colors of the left and right columns of the template are different. How can I change the titles to the same color? There are two methods: one is to directly modify the background image in the above CSS file, and the other is to replace the image with Headingbg in the images directory under the template file with the same image.
5. Common background settings
(1) Enable the left and right columns as needed: Tools → Layout
Boxes Controller
(2) purchase payment and free shipping Module Settings:
Modules → Payment Modules install and configure the Payment Module
Modules → Shipping Modules Free Shipping)
Modules → Order Total Modules you can set coupons, taxes, and so on.
(3) country/region: Locations → Countries
(Chinese Code (2) CHN can be removed from an English Foreign Trade website)
(4) Exchange Rate Settings: Localization → Currencies (use IPS and other payment methods to keep RMB CNY)
(5) terms for closing registration or settlement for an account:
Set in backend Configuration --> terms
6. Adjustments to some details: the content in the information Section [under the Tool → Define Pages Editor menu] fills in, the advertisement images in the javassors section [in the Tool → Banner Manager] changes, and the copyright information at the bottom (\ shortdes \ ages \ English. php) needs to be modified accordingly.
7. product Image enlargement: Click Image in the background Tools Column
Handler2 drop-down menu → click Install Image Handler to Install the Image management module; then set the Image Parameters in Configuration, and set the IH zoom-in (medium) small Image to yes, set the image size to be enlarged in product information-image width/Image Height.
We develop two files by ourselves:
Schemdes/templates/dreamugg/templates/tpl_specials_default.php
Supported des/functions/html_output.php
8. Do you think it is embarrassing to have a small number of visitors to your website? You can modify the $ n_guests and $ n_members as the number of registered members.
The other is the modification of the Powered by information. The modification method is as follows:
Modify the information in the first define () file in the DES/ages/english. php file as needed.
9. Remember to install IPS and other patches (execute the SQL statement first and then upload the IPS patch )...
10. If there are many product categories, there will be a subcategory connection when you click the parent category connection, but this link is not surprising, some customers will think that this is not a link, so the browsing times of our products and the chances of being purchased will decrease. Therefore, some modifications must be made to this link.
/Includes/modules/category_row.php to modify the relevant code.
11. As a Foreign Trade website, Google promotion is a key link, so the question arises: how to add the GGAD tracking code to the website? The location is flexible. The example here is for reference only.
Add the full-site tracking code to: templates/common/tpl_footer.php used by the nodes/templates /.
GGAD defines the operation tracking code:
<! -- Google Code for registration/login Behavior
Conversion Page -->
Supported des/ages/english/login. php
Supported des/ages/english/create_account.php
<! -- Google Code for purchase/sales
Conversion Page -->
/Shortdes/templates/template_default/templates/tpl_checkout_success_default.php
../Schemdes/templates/template_default/templates/tpl_checkout_confirmation_default.php (183,1)
<! -- Google Code for sales lead Conversion Page -->
Supported des/ages/english/shopping_cart.php
<! -- Google Code for key webpage view tracking Conversion Page -->
<! -- Google Code for other tracking Conversion Page -->
Note: If the code is directly added to the beginning of the website (before the head), the page may be misplaced.
12. The time zone displayed in the background is the default value. This is very difficult for us. How can we modify it?
Locate admin/shortdes/header. PHP file, search for echo date ("r", time ()). the 'gmt' location does not need to be clarified. Everyone knows that this is the output time. add a sentence date_default_timezone_set ('prc') to the front. Refresh the file in the background to see the effect. okay, now is Beijing time. (However, the generated order time is based on the server time of the website)
13. Because Google cannot apply for an advertisement, you need to change the domain name. If you want to change the domain name, you need to modify the configuration information in the website. How can you modify it?
Modify two configuration files first
Replicdes/configure. php
Admin/shortdes/configure. php
Change the domain name variable defined in it to the desired domain name or use a permanent method to use
'Http: // '. $ _ SERVER ['HTTP _ host']
'Https: // '. $ _ SERVER ['HTTP _ host']
Replace the corresponding location.
The next step is to modify the Logo and Banner. There is nothing worth mentioning and there is no skill at all;
The Copyright information and Powered
By information modification.
14. How do I configure search engine optimization?
Enable the SEO function under the "Configuration" --> "Search Engine Optimization" option in the background. The SEO module must be checked in three places:
(1) Confirm that the website supports mod_rewrite and that the host allows you to use your. htaccess file;
(2) The. htaccess file name is correct (there is a point above)
(3) change the file htaccess_sample in the root directory to. htaccess and change/shop/to your zen-cart directory.
If your domain name directs to the root directory of zen-cart, set it:
RewriteBase/
If yes
Http://www.domain.com/zencart/
In this way, RewriteBase/zencart/
15. How do I add a new page?
Payment Policy settings:
Background ==> Tool ==> EZ-Pages ==> Payment
Policy => edit: (if there is no Payment Policy, click "new file)
Enter Payment in Page Title
Policy
Other radio buttons do not need to be changed. You only need to enter the payment terms in the HTML edit box.
For details, see topic1947.html.
16. Gateway payment interface settings
The ZenCart program has integrated payment gateway interfaces such as PayPal. You only need to set parameters such as the payment account.
In addition, IPS and other gateway payment interfaces to be installed can be integrated according to the official payment interfaces.
17. Attributes Controller extension of product description (add settings in attribute control option content)
Attributes under the Catalog drop-down menu
Enter the Option Name and ID under the Option Name of the Controller and insert them. Then, select the Option Values in Option Values.
In addition, if all product attributes have been set, you can download the text file of the model/attribute separated by TAB.
18. Set coupon: admin-> Modules-> Order
Total-> Discount Coupon
19. product weight modification: (Change g to kg)
/Shortdes/ages/english. php
/Shortdes/ages/english/modules/shipping/zones. php
Find and replace the two files.
20. Add the payment clause in the selected payment method:
In/includes/ages/english/checkout_payment.php
Define ('text _ SELECT_PAYMENT_METHOD 'or: define ('table _ HEADING_PAYMENT_METHOD.
. Ccinfo {
Display: none;/* Hide internal card logo */
}
21. Terms for enabling or disabling registration or checkout
Set it in "Configuration" --> "Terms and Conditions" in the background
22. add links
The Banner Manager advertisement code displays Links. First, enter "ad display group-footer position 1" in the background layout settings, such as Links. create "New Banner" in the "Banner Manager" menu under the Tools column.
In the Group field, enter the AD Group name Links and Banner.
Title: Enter the HTML code of the link you want to display in the Html Text box, and click insert.