Install Guide for Noodlemans Customer Rewards Plugin for CubeCart 5

This install guide has been written for version 5.2.2 of CubeCart, if you are installing in another version the line numbers referenced may be slightly different. If there is any doubt open a support ticket for assistance.

SUPPORT IS AVAILABLE FROM http://www.noodleman.co.uk/support

  1. Extract Files

    Extract the files from the .zip file to your servers "modules/plugins" directory. The final path should be "modules/plugins/Customer_Rewards"

  2. Edit cubecart.class.php

    Open the file "classes/cubecart.class.php" with your favourite text editor.
    AROUND LINE NUMBER 507 FIND: ON A NEW LINE AFTER ADD:

  3. Edit cart.class.php

    Open the file "classes/cart.class.php" with your favourite text editor.
    AROUND LINE NUMBER 562 FIND: ON A NEW LINE AFTER ADD:

  4. Edit customers.index.inc.php

    Open the file "admin/sources/customers.index.inc.php" with your favourite text editor.
    AROUND LINE NUMBER 304 FIND: ON A NEW LINE AFTER ADD:

  5. Edit customers.index.inc.php

    Open the file "admin/sources/customers.index.inc.php" with your favourite text editor.
    AROUND LINE NUMBER 313 FIND: ON A NEW LINE AFTER ADD:

  6. Edit order.class.php

    Open the file "classes/order.class.php" with your favourite text editor.
    AROUND LINE NUMBER 554 FIND: ON A NEW LINE AFTER ADD:

  7. Edit orders.index.inc.php

    Open the file "admin/sources/orders.index.inc.php" with your favourite text editor.
    AROUND LINE NUMBER 138 FIND: ON A NEW LINE AFTER ADD:

  8. Edit customers.index.php

    Open the file "admin/skins/default/templates/customers.index.php" with your favourite text editor.
    AROUND LINE NUMBER 136 FIND: ON A NEW LINE AFTER ADD:

  9. Edit content.product.php

    Open the file "skins/YOURSKINFOLDER/templates/content.product.php" with your favourite text editor.
    Note this next step was completed using the Kurouto skin, you may need to adjust the placement depending on your skin design. Use this as an example if you are unsure or contact support for assistance if needed.
    AROUND LINE NUMBER 113 FIND: ON A NEW LINE AFTER ADD:

  10. Edit content.checkout.php

    Open the file "skins/YOURSKINFOLDER/templates/content.checkout.php" with your favourite text editor.
    Note this next step was completed using the Kurouto skin, you may need to adjust the placement depending on your skin design. Use this as an example if you are unsure or contact support for assistance if needed.
    AROUND LINE NUMBER 65 FIND: ON A NEW LINE AFTER ADD:

  11. Enable the plugin

    Log into your CubeCart admin area, then go to "Modules -> Plugins". Enable the "Customer Rewards" plugin and press the "SAVE" button.

  12. Configure the plugin

    Log into your CubeCart admin area, then go to "Modules -> Plugins -> Customer Rewards" Configure the settings as you require.

  13. Refresh System Hooks

    Log into your CubeCart admin area, then go to "Settings -> Manage Hooks -> Customer Rewards" then press the "SAVE" button.