/*************************************************\
Customer Reward Points Referral Addon v 1.0.0

Full feature list on our website:
http://www.bcsengineering.com/store/catalog

BCS Engineering
Copyright (c) 2004 BCS Engineering,
Carrie L. Saunders <>
All rights reserved.
See http://www.bcsengineering.com/license.shtml
for full license
For X-cart versions 4.0.X
\*************************************************/

Installation Instructions



Note: It is recommended that you always backup your files and database before installing any x-cart modification.

  1. Log into your admin and apply the sql patch found in this zip.
  2. Copy all files found in this zip to their appropriate directories (replacing the bcse_points_system_order.php file in your include directory with the new one found in this zip).
  3. Add the following code before {/capture} in skin1/admin/menu.tpl

    <a href="{$catalogs.admin}/bcse_crp_referral.php" class=VertMenuItems>Customer Reward Points Referral Addon</a><BR>

  4. Add the following to skin1/common_templates.tpl after the first {if} {include} pair

    {elseif $main eq "points_referral_config"}
    {include file="admin/main/bcse_crp_referral.tpl"}

  5. Add the following to skin1/customer/home_main.tpl after the first {if} {include} pair

    {* BCSE Begin *}
    {elseif $main eq "crp_referral"}
    {include file="customer/main/crp_referral.tpl"}
    {* BCSE End *}

  6. Add the following language variables in the Languages area in the Admin.
    Variable name Suggested Description Suggested Value
    txt_points_referral_login Points Referral Login You must log in to be able to use this feature.
    txt_thank_you_referral Thank you Points Referral Thank you for referring your friends! You should recieve a confirmation email shortly.
    txt_referral_info Referral Info Refer your friends to our site and receive Loyalty Points! If one or more of your friends return to our site and purchase something, you will receive (enter the amount or % of points they will receive here...example: 50% of their order in points!)

  7. Add a link somewhere on your customer side to crp_referral.php You can do this either using the speed bar or by putting it into the template of your choice (usually skin1/customer/home.tpl)