This page describes how to use the recommendation plugin.
This plugin makes the most accurate product recommendation. In order to ensure the best recommendation for every product and every user, it collects anonymous data about sales and items in stock. Absolutely no client information is stored.
Please get the plugin from the download page, if not already downloaded.
Also please note that once the installation is completed, recommendations widgets might not show up immediately. This is because the system needs some data to initialize. This might take up to one hour.
New: Use our new automatic configuration generator: config.php
Copy the following php line to enable recommendation tracking (continuously improves recommendations based on user feedback) in
catalog/includes/footer.php at the end of the file:
<?php include(DIR_WS_MODULES . 'ezreco/eztracker.php'); ?>
The first 3 steps can be done in advance in order to start collecting more data before actually starting using these info in recommendations.
Copy the lines that loads our recommendation widget into your site. These lines can be copied anywhere you want your widget to show. The simplest way to get recommendation is:
<?php include_once (DIR_WS_MODULES . 'ezreco/ezreco.php'); ezReco(); ?>
– For instance, you can show it on the product page, in product_info.php under the closing
<?php include_once (DIR_WS_MODULES . 'ezreco/ezreco.php'); ezReco('PRODUCT'); ?>
– or on the home page, line 269 in index.php:
<?php include_once (DIR_WS_MODULES . 'ezreco/ezreco.php'); ezReco('HOME'); ?>
– or on the column on the right in template_bottom.php, in ‘columnRight’ div:
<?php include_once (DIR_WS_MODULES . 'ezreco/ezreco.php'); ezReco('OFFER','html_template_vertical',3); ?>
ezReco function parameters:
Our system needs to collect some infos to make the best recommendation possible. No customer personnal info is collected.
There are 2 options available:
How to define a cron job?
The cron job is a php script that can be run standalone. Scheduling configuration of the job depends on your host. The syntax for the cron job varies from host to host, but the following should work:
The plugin is designed to be easily customized: