Difference between revisions of "X-Cart:X-HotProducts"

From X-Cart 4 Classic
Jump to: navigation, search
m
m (X-HotProducts package installation and removal)
Line 87: Line 87:
  
 
== X-HotProducts package installation and removal==
 
== X-HotProducts package installation and removal==
<u>X-HotProducts</u> installation process is the same for both X-Cart Gold and X-Cart Pro.
 
  
 
To install <u>X-HotProducts</u>:
 
To install <u>X-HotProducts</u>:

Revision as of 17:21, 15 October 2012

X-Cart 4.4or above

Overview

X-HotProducts is a software package that includes three independent X-Cart modules: New Arrivals, On Sale and Previously Ordered Products.

New Arrivals module

New Arrivals is a module that allows you to showcase the latest additions to your store's product catalog. If your store's assortment is updated regularly, this module will help you to highlight and promote your newest products. The module will be especially useful to your returning customers, who will be able to find the items added since their last visit more easily.

With the New Arrivals module installed and enabled, your store will have a special page where your store's latest products will be shown - the 'New Arrivals' page:

New arrivals page.png

Your customers will be able to access this page at the URL of your store with /new_arrivals.php added at the end. For example, if your store's URL is http://example.com, the 'New Arrivals' page will be available at the address http://example.com/new_arrivals.php.

The module can be configured to include a link to the 'New Arrivals' page into the Special section of your store's Customer area:

Hot products special section.png

In addition to the 'New Arrivals' page, the list of recently added products can be displayed on the Home page:

New arrivals home page.png

in the product list section (main column) of your store's category pages:

New arrivals main column.png

and in the New Arrivals section of the Customer area sidebar (menu column):

New arrivals menu column.png

You do not have to worry about adding your new products to the new arrivals list: the new arrivals list is formed automatically of products added to the database during a specified number of days before current time (The number of days can be adjusted in the module settings.). It is possible to control the length of the new arrivals list by setting a limit on the number of products that can be shown.

Note that the contents of the new arrivals list varies depending on the location where the list is displayed: the new arrivals lists shown on the 'Home' and 'New Arrivals' pages are formed of new arrivals from the entire product catalog, whereas the new arrivals lists that appear on specific category pages are formed exclusively of the newest products that belong in the category being viewed (Depending on the module settings, this may or may not include products from the subcategories of the current category).

It is possible to adjust the display mode for the products in the new arrivals list; new arrivals can be shown like ordinary products on any of your store's product list pages (like in this screenshot) or use a more compact presentation:

New arrivals simple view.png

On Sale module

The On Sale module povides a method for promoting specific products in your store by putting them on sale. Putting a product on sale presupposes highlighting the product by entering it into the store's 'On Sale' list and adding bright sale labels to its thumbnail and main images so it can be easily found by the visitors looking for hot deals.

Products can be put on sale by the store's administrator. The process is as easy as selecting the 'On sale' check box on the product's details page (also known as the 'product modify page') in the Admin area and applying the changes:

On sale product modify page.png

After some products have been put on sale, they appear on a special page in the store's Customer area - the 'On Sale' page:

On sale page.png

Your customers will be able to access this page at the URL of your store with /on_sale.php added at the end. For example, if your store's URL is http://example.com, the 'On Sale' page will be available at the address http://example.com/on_sale.php.

Note that the module can be configured to include a link to the 'On Sale' page into the Special section of the Customer area (menu column):

On sale special section.png

In addition to the 'On Sale' page, the list of products currently on sale can be made visible on your store's Home page (main column):

On sale main column.png

If you wish, you may also adjust the module to take your products' "on sale" property into account for sorting purposes: on product list pages using the Default sort order, products put on sale will be displayed first in the list. Your customers will know they are on sale by the red 'Sale' labels attached to their images.

The 'Sale' label image is stored in the file /skin/common_files/modules/On_Sale/images/on_sale.png. If you wish, you can replace this image by an image of your own. The current size of the 'Sale' label image is 48x48 pixels.

Previously Ordered Products module

The Previously Ordered Products module allows your customers to quickly find, add to cart and re-order the products they have already ordered at your store.

When this module is installed and enabled, your store's registered customers who already bought something from you can view the list of all the products they have ordered on a separate page - the 'Previously ordered products' page:

Previously ordered products.png

This page is available at the URL of your store with /quick_reorder.php added at the end. For example, if your store's URL is http://example.com, the address of the 'Previously ordered products' page for your customers is http://example.com/quick_reorder.php.

After signing in, registered customers who have ordered something at your store will see a link to the 'Previously ordered products' page titled 'Quick reorder'. Depending on the skin used by your store, the location of the 'Quick reorder' link can be different. For example, in the 'Ideal Comfort' skin, the link is shown in the site header:

Quick reorder header.png

In the 'Vivid Dreams' skin, the 'Quick reorder' link is included into the Special section at the page bottom:

Vivid dreams quick reorder.png


System requirements for installing the X-HotProducts package

To be able to successfully install and use the modules of the X-HotProducts package, you must have a working copy of X-Cart Gold or X-Cart Pro v4.4.0 or later already installed on your server. Make sure that the version of the X-HotProducts package you are installing is the same as the version of X-Cart on which your store is based.

Note: If you do not remember the version of X-Cart on which your store is based, you can look it up in the Environment info section of the Summary page in X-Cart Admin area.
Important: If using PHP4, iconv extension must be enabled.

X-HotProducts package installation and removal

To install X-HotProducts:

  1. Obtain the X-HotProducts distribution package by downloading it from the File area section of your X-Cart Account. The distribution package you need is contained in the archive file X-HotProducts-x.y.z-with-installer.tgz where x, y and z stand for X-Cart version (These need to match the version of X-Cart on which your store is based).
  2. Put the distribution package to the X-Cart root directory on your server or hosting account.
    • If you use a Windows-based server, or a UNIX-based server without terminal access:
    a) Decompress the archive with the X-HotProducts 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 use 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 X-HotProducts-x.y.z-with-installer.tgz
    Important: Make sure you keep the directory structure while unpacking and uploading the distribution package, otherwise some necessary files can be overwritten!
  3. In a web browser, run the installation script httр://<YOUR_XCART_DOMAIN>/install-hot-products.php, replacing the <YOUR_XCART_DOMAIN> part with the actual domain name of your X-Cart based store.
  4. Enter the Auth code, accept the License Agreement and click the Next button.
    Note: The Auth code is a random code that was generated after you installed your copy of X-Cart. If you do not remember the Auth code, you can find it in the Summary section of the X-Cart Admin area (Tools menu -> Summary), right over the License info subsection. Another way to obtain the code is to retrieve the value of the variable $installation_auth_code from the file <xcart_dir>include/install.php
  5. The installation script copies the files and activates the modules. Click the Next button to continue the installation.
  6. The installation script generates a new system fingerprint. Click the Next button to complete the installation.
  7. Use the ADMINISTRATOR AREA link to access the Admin area.

To uninstall X-HotProducts:

  1. In a web browser, run the installation script httр://<YOUR_XCART_DOMAIN>/install-hot-products.php, replacing the <YOUR_XCART_DOMAIN> part with the actual domain name of your X-Cart based store.
  2. Choose the Uninstall the module option, enter the Auth code, accept the License Agreement and click the Next button.
  3. Once the installation script has removed the files of the X-HotProducts package and deactivated the module, click the Next button to complete the uninstallation.
  4. On the Uninstallation complete screen, click Next to leave the Wizard.
    Important: After you have uninstalled X-HotProducts, be sure to remove the X-HotProducts distribution package from your web directory as well.

Enabling the modules of the X-HotProducts package

After the X-HotProducts installation has been completed, the modules you have installed (New Arrivals, On Sale and Previously Ordered Products) need to be enabled in your store:

  1. In Admin area, go to the Modules section (Settings menu->Modules).
  2. Choose the module(s) you wish to enable by selecting the respective check box(es) on the left.
  3. Click the Apply changes button. This activates the selected module(s).


Configuring the modules of the X-HotProducts package

Two modules of the X-HotProducts package - New Arrivals and On Sale - provide configuration settings which you can adjust according to your preference. After these modules have been enabled in your store, it is a good idea to check and adjust their configuration:

  1. In the Modules section of Admin area (Settings menu->Modules), click the Configure link opposite the name of the module that needs to be configured ('New Arrivals' or 'On Sale').
    The module configuration page (titled by the name of the module) opens.
    New Arrivals module configuration page:
    New arrivals settings.png
    On Sale module configuration page:
    On sale settings.png
  2. Adjust the settings on the module configuration page as needed. Detailed information regarding the New Arrivals module configuration settings and On Sale module configuration settings is available below.
  3. Click the Apply changes button to save the changes.

New Arrivals module configuration settings

  • Number of products in the new arrivals list: Specify the number of products that should be shown in the new arrivals list; this setting affects the new arrivals lists displayed on the store's Home page, category pages and in the New Arrivals section of the Customer area sidebar.
  • Number of products on the New Arrivals page: Specify the number of products that should be shown on your store's 'New Arrivals' page. Note that the product list on the 'New Arrivals' page will be paginated according to your store's 'Pagination options' settings (Settings->General settings/Appearance).
  • Show products added in the last N days: Only products added to the database in the last N days will be displayed as new arrivals. A "day" is a 24-hour period. For example, if the value of this field is "3", and the new arrivals list is displayed at 4.26 p.m. on June 26, 2012, the list will include products added to the database after 4.26 p.m. June 23, 2012.
  • Show the new arrivals list on the Home page: Select the check box to show new arrivals on the Home page.
  • Show the new arrivals list in the menu column: Select the check box to show new arrivals in the 'New Arrivals' section of the Customer area sidebar.
  • Show the new arrivals list in the main column: Select the check box to show new arrivals in the product list section of category pages.
  • Show link to the New Arrivals page in the "Special" section: Select the check box to provide a link to the 'New Arrivals' page in the 'Special' section of the store's Customer area.
  • View of the new arrivals list: Choose the display mode for the new arrivals list; Full corresponds to displaying your store's new arrivals like ordinary products on any of your store's product list pages; Simple display mode provides a more compact view, where information about each product in the 'New Arrivals' list includes only the product name, product thumbnail image, date of addition to the store's database and price. This setting affects the new arrivals lists displayed on the store's Home page and in the product list section of category pages.
  • Show products on category page including sub-categories: Select the check box if you want new arrivals lists displayed on category pages to include products not only from the current category, but also from its subcategories.

On Sale module configuration settings

  • Show on sale products first in the product list: Select the check box if you want the products put on sale to be displayed first in the products list for the 'Default' sorting method.
  • Show link to the On Sale page in the "Special" section: Select the check box to provide a link to the 'On Sale' page in the 'Special' section of your store's Customer area.
  • Show on sale products on the Home page: Select the check box to show on sale products on the Home page.