Installation Notes

  1. Uploaded included files to your zencart folder. The three files are new, and do not overwrite any original files.

  2. Login into your admin page. While viewing the admin dashboard a button will be displayed to add the sql queries. Click the [Install] button.

  3. You will need to edit your templates tpl_product_info_display.php file ie. /includes/templates/CUSTOM/templates/tpl_product_info_display.php If this file is not in the folder, copy the file from /includes/templates/template_default/templates/ paste the file into /includes/templates/CUSTOM/templates/

  4. Now you need to add the block of code to where you would like the related products to be displayed. You will find the code around line 463:

    <!--bof also purchased products module -->
    <?php require($template->get_template_dir('tpl_modules_also_purchased_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_also_purchased_products.php');?>
    <!--eof also purchased products module -->

    I opted to place the related products to above this module.

    Copy this above this block:

    <!--bof also related products module-->
    <?php require($template->get_template_dir('tpl_modules_related_products.php', DIR_WS_TEMPLATE, $current_page_base,'templates'). '/' . 'tpl_modules_related_products.php');?>
    <!--eof also related products module-->
  5. You can set the number of columns of images by changing the configuration value under Admin->Configuration->Product Info Related Products Columns per Row Default: (3)

  6. You should now see products being displayed under the products description. You will want to add some CSS styles to the box to your liking. Default styles should be:

    #relatedProducts {text-align: center;}
    .centerBoxContentsRelatedProduct {float: left; margin: 1em 0;}
  7. You will need to enter text into the products_family column. Whichever products have the same text will be shown on the page. You can relate multiple products by using a pipe ("|") character. Example: products_family ('TSHIRT') will find all products with family "TSHIRTS". Example: products_family ('TSHIRT|SHORT_SLEEVE') will find all products with family "TSHIRT" or "SHORT_SLEEVE"


If you would like to add a field input to the admin panel for being able to enter a products family, copy the files in the OPTIONAL-admin-files to your admin directory.

This folder will overwrite the following core files:





It will also add a new language definition /ADMIN/includes/languages/english/extra_definitions/reloaded_related_products.php

IF you have made other changes to your product entry page with other addons, the extra lines of code are clearly marked with comment tags.


Why are you wanting to do this? If you must, then navigate to admin home and copy this: ?remove_reloaded_related_products=yes and paste onto the end of the url so it will look like: http://yoursite.com/ADMIN-folder/index.php?remove_reloaded_related_products=yes

The page will refresh, and the install button will be shown at the top. This means that it has successfully been uninstalled. Now delete the file: /ADMIN/includes/functions/extra_functions/reloaded_related_products_functions.php

Next, you will need to remove the template code from shown in step 4 of the installation instructions. If you have used the OPTIONAL-Admin-files, you will need to remove the references to product_family from them.