X-Cart:Sales Advisor installation

From X-Cart 4 Classic
Jump to: navigation, search

System requirements and installation

To be able to successfully install and use the Sales Advisor module, you must have a working copy of X-Cart 4.5.0 or later (any edition) installed on your server. Make sure the version of the module matches the version of your installed copy of X-Cart.

Note: If you do not remember the version of X-Cart on which your store is based, find it in the Environment info section of the Summary page in your store's Admin area.

Following are the instructions for installing the Sales Advisor add-on module on X-Cart versions 4.5.0 or later.

To install the module:

  1. Obtain a distribution package for the Sales Advisor add-on module by downloading it from the File Area section of your X-Cart Account. Look for an archive file named like x-sales-advisor-x.y.z.tgz, where x, y and z are numbers matching the version of your installed copy of X-Cart.
  2. Copy the distribution package to the X-Cart root directory on your server or hosting account.
    • If you are using a Windows-based server, or a UNIX-based server without terminal access:
    a) Decompress the archive with the Sales Advisor distribution package to a directory on your system using your favorite compression program (WinZIP or any other archiver with support for TAR files).
    b) Use an FTP client to upload all the files contained in the archive (retaining the directory structure) to the X-Cart root directory on your server or your hosting account.
    • If you are using a UNIX-based server with terminal access:
    a) Use an FTP client to upload the archive with the distribution package to the X-Cart root directory on your server or your hosting account.
    b) Decompress the package using the following command:
    tar -xzvf sales-advisor-x.y.z.tgz
    (Replace x, y and z with the actual version numbers).
    Important: Make sure you keep the directory structure while unpacking and uploading the distribution package, otherwise some necessary files may be overwritten!
  3. In a web browser, run the installation script httр://<YOUR_XCART_DOMAIN>/install-sales-advisor.php replacing <YOUR_XCART_DOMAIN> with the actual domain name of your X-Cart store. This will start the installation wizard.
  4. Carefully read the License agreement, enter the Auth code for your X-Cart installation into the Auth code field and select the "I accept the License Agreement" check box.
  5. Click Next to continue. The installation process will start. The installer will make the necessary changes to your X-Cart installation, and the module will be activated.
    Note: If you are using a custom skin, you will need to patch it manually. Otherwise, the module will not work in this skin.
  6. Once the process is completed, click Next. This will open the next screen where you will be asked whether you wish a new system fingerprint to be generated.
  7. Make your selection (Yes/No) and click Next. If you have chosen to generate a new system fingerprint, it will be generated. The process of generating a system fingerprint may take up as long as a few minutes. Once the generation process is completed, click Next. If you have chosen to skip the generation of a system fingerprint, you will be taken to the next step.
  8. After clicking Next you should see the "Installation complete" screen.
    This is the final step. It informs you that the module has been installed successfully. It also reminds you to remove the module archive file in case you put it in a web accessible directory; this is needed to protect the module from unauthorized copying.
    Important: At the final step of the installation process, the installation script install-sales-advisor.php is automatically renamed as an additional measure to protect the module installation. Please take note of the filename to which the installation script was renamed. If you decide to re-install or uninstall the module later on, you will need to rename the installation script back to install-sales-advisor.php before launching the installation process in your web browser.

Now if you choose to view the list of your store's installed modules (this can be done using the Administrator area link provided on the "Installation complete" screen), the modules Cart Upselling and Promotional Messages will be on the list:

Cart upsell modules.png
Promo msg modules.png

After installing the Sales Advisor module, you need to activate and configure the modules Cart Upselling and Promotional Messages. See:

Uninstallation

Uninstallation completely removes all the data related to the Sales Advisor add-on module from your store.

To complete the uninstallation, you will need to run the Sales Advisor add-on module installation script. You might remember that, after the module was installed in your store, the script was saved with a new name to help prevent unauthorised runs of the installer. Now, before you start, you need to rename the script back to its original name - install-sales-advisor.php.

To uninstall the module:

  1. Run the module installation script in your web browser by going to httр://<YOUR_XCART_DOMAIN>/install-sales-advisor.php (be sure to replace the <YOUR_XCART_DOMAIN> part with the actual domain name of your X-Cart store). This will start the installation wizard.
  2. At the first step of the uninstall process, select "Uninstall the module", enter the Auth code for your X-Cart installation into the Auth code field and select the "I accept the License Agreement" check box.
  3. Click Next to continue. The uninstallation process will start. The installer will make the necessary changes to your X-Cart installation, and the module will be deactivated.
  4. Once the process is completed, click Next. This will open the next screen where you will be able to generate a new system fingerprint.
  5. Generate the system fingerprint (or skip it). After clicking Next you should see the "Uninstallation complete" screen.

    This is all. The Sales Advisor add-on module has been uninstalled.