1. Documentation /
  2. Alternate Product Recommendations for WooCommerce

Alternate Product Recommendations for WooCommerce

If a product is no longer available for purchase,  Alternate Product Recommendations for WooCommerce recommends alternate products to users.

Installation

↑ Back to top
  1. Download the .zip file from your WooCommerce account.
  2. Go to WordPress Admin > Plugins > Add New and Upload Plugin > Choose File (for the file that was downloaded).
  3. Install Now and Activate the extension.

Setup and Configuration

↑ Back to top

General

↑ Back to top
General Settings
  • To recommend alternate products to your users on the single product page, enable the “Alternate Product Recommendations” checkbox.
  • When a user visits a recommended alternate product, the visit count will be recorded. If the user visits the same product multiple times, the visit count will be recorded only after the duration is set in the “Update Visit Count After” option.
Display Settings
  • Choose between the two provided styles for displaying recommended alternate products.
  • Recommended products can be displayed in a Slider/Carousel in the Recommended Products option.

Messages

↑ Back to top
This section allows you to customize the messages displayed to your users.

Product Configuration

↑ Back to top

No Longer Available – Message – Configuration

↑ Back to top
  • Edit an existing product that is currently no longer available for purchase.
  • Go to Alternate Product Recommendations and Enable the “Alternate Product Recommendation” checkbox.
  • In the “Alternate Product Recommendation Type,” select the value as “No Longer Available.”
  • In the “Display Type”, select the value as “Message.”
  • Save the product.

No Longer Available – Recommend Single Alternate Product – Configuration

↑ Back to top
  • Edit an existing product that is currently no longer available for purchase.
  • Go to Alternate Product Recommendations and Enable the “Alternate Product Recommendation” checkbox.
  • In the “Alternate Product Recommendation Type,” select the value as “No Longer Available.”
  • In the “Display Type”, select the value as “Recommend Single Alternate Product.”
  • Save the product.

No Longer Available – Recommend Multiple Alternate Products – Configuration

↑ Back to top
  • Edit an existing product that is currently no longer available for purchase.
  • Go to Alternate Product Recommendations and Enable the “Alternate Product Recommendation” checkbox.
  • In the “Alternate Product Recommendation Type,” select the value as “No Longer Available.”
  • In the “Display Type,”select the value as “Recommend Multiple Alternate Product.”
  • Save the product.

Recommend Alternate Product – Recommend Single Alternate Product – Configuration

↑ Back to top
  • Edit an existing product that is currently no longer available for purchase.
  • Go to Alternate Product Recommendations and Enable the “Alternate Product Recommendation” checkbox.
  • In the “Alternate Product Recommendation Type,” select the value as “Recommend Alternate Product”.
  • In the “Display Type,” select the value as “Recommend Single Alternate Product.”
  • Save the product.

Recommend Alternate Product – Recommend Multiple Alternate Products – Configuration

↑ Back to top
  • Edit an existing product that is currently no longer available for purchase.
  • Go to Alternate Product Recommendations and Enable the “Alternate Product Recommendation” checkbox.
  • In the “Alternate Product Recommendation Type,” select the value as “Recommend Alternate Product.”
  • In the “Display Type,” select the value as “Recommend Multiple Alternate Product.”
  • Save the product.

Usage

↑ Back to top

No Longer Available – Message – Usage

↑ Back to top
When a user visits a single product page that is no longer available for purchase, a notice will be displayed to the user stating that the product is no longer available for purchase so that the user can choose an alternate product.

No Longer Available – Recommend Single Alternate Product – Usage

↑ Back to top
When a user visits a single product page that is no longer available for purchase, an alternate product will be displayed to the user so that the user can consider that product for purchase.

No Longer Available – Recommend Multiple Alternate Products – Usage

↑ Back to top
When a user visits a single product page that is no longer available for purchase, multiple alternate products will be displayed to the user so that the user can consider those products for purchase.

Recommend Alternate Product – Recommend Single Alternate Product – Usage

↑ Back to top
When a user visits a single product page that is available for purchase, an alternate product will be displayed to the user so that the user can consider that product for purchase.

Recommend Alternate Product – Recommend Multiple Alternate Products – Usage

↑ Back to top
When a user visits a single product page that is available for purchase, multiple alternate products will be displayed to the user so that the user can consider those products for purchase.

Translation

↑ Back to top
The Alternate Product Recommendations for WooCommerce plugin is translation-ready meaning you can edit the po files to translate the text to any language. The steps to do the translation are as follows. For example, if we were to translate to French:
  1. Download and install Poedit
  2. Open the file alternate-product-recommendations-for-woocommerce > languages > alternate-product-recommendations-for-woocommerce.pot using Poedit.
  3. Create a new translation file by clicking Create new translation button.
  4. Choose the Source text and set its corresponding French text in Translation Text Area.
  5. Save the changes.
  6. Save the file name as alternate-product-recommendations-for-woocommerce-fr_FR.po.
  7. If you are using WordPress Version 3.9.13 or below, then in wp-config.php define the WPLANG as French. Syntax is define(‘WPLANG’, ‘fr_FR’);
  8. If you are using WordPress Version 4.0 or above, then go to WordPress dashboard > Settings > General and select the Site Language as French.