Install Guide for Noodlemans Tax_Exempt_Customers 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. You will need a demo license key to be able to use this plugin, please request one from support if you do not have one.

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

  1. Disable Store Cache

    Log into your store admin area, navigate to "Store Settings -> Advanced" and set "Enable Caching" to Disabled. Save the change




  2. Extract Files

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




  3. Add Items To Your Skin

    Open the file "skins//templates/content.register.php" with your favourite text editor. The code snippit below will add the extra form option to the account registration form. You can add this to any part of your registration form, its up to you where it goes.

  4. Add in a Suitable place:


  5. Add Items To Your Skin

    Open the file "skins//templates/content.product.php" with your favourite text editor. The code below allows you to highlight that a product may be tax exempt. Add this to an appropriate place in your template file and update the HTML as necessary. It is up to you how you word the messages, the code below is an example of how it can be used. In english, the code checks if the product being viewed is tax exempt for some customers, if it is then it will display your HTML code.

  6. Add in a Suitable place:


  7. Add Items To Your Skin

    Open the file "skins//templates/content.checkout.confirm.php" with your favourite text editor. The code snippit below will add the extra form option to the account registration form. You can add this to any part of your registration form, its up to you where it goes.

  8. Add in a Suitable place:


  9. Update Admin Customer Page

    Open the file "admin/skins/default/templates/customers.index.php" with your favourite text editor.

  10. Around line number 134 FIND:
    AFTER ADD ON A NEW LINE:


  11. Add a custom hook

    Open the file "classes/user.class.php" with your favourite text editor.

  12. Around line number 340 FIND:
    AFTER ADD ON A NEW LINE: