Categories

Featured templates

ZenCart. How to manage products compare module

Alex Ross July 13, 2012
Rating: 5.0/5. From 1 vote.
Please wait...

This tutorial will show you how to install, manage and hide your Compare products module in ZenCart.

1. First of all, you need to upload the file ajax_compare.php to the root of your ZenCart installation. You may find this file in your template’s "themeXXX" folder.

2. Then, you need to import the file ZENCART_COMPARE_PRODUCTS.sql to your database via the database management tool (more information in this tutorial: /help/phpmyadmin-how-to-import-sample-data-dump-file-phpmyadmin.html)

3. In order to compare several products you just need to click a button "Add to compare" under each of them.

4. To show your compare results just click on Compare button, you will be redirected to Compare page. In order to remove the item from compare just click on remove button.

5. If you wish to hide your Compare pruducts function, you need to edit the file includes/templates/themeXXX/css/stylesheet_compare.css. Add "display:none;" property for .compare_btn and #compareResult classes. They may be called different in your case, so, you may find them using FireBug tool for Firefox (more information here: /help/firebug-mozilla-firefox-plugin.html)

Feel free to check the detailed video tutorial below:

ZenCart. How to manage products compare module
This entry was posted in ZenCart Tutorials and tagged compare, module, ZenCart. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket